Skip to content

Commit

Permalink
remove entity announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeig committed Sep 16, 2024
1 parent be04afa commit 7abc712
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 188 deletions.
183 changes: 0 additions & 183 deletions src/Goteo/Entity/Announcement.php

This file was deleted.

5 changes: 0 additions & 5 deletions src/Goteo/Util/ModelNormalizer/EntityNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/
namespace Goteo\Util\ModelNormalizer;

use Goteo\Entity\Announcement;
use Goteo\Util\ModelNormalizer\Transformer;
use Goteo\Application\Session;
/**
Expand All @@ -29,10 +28,6 @@ public function __construct($model,array $keys = null) {
* @return Goteo\Util\ModelNormalizer\TransformerInterface
*/
public function get() {
if ($this->model instanceOf Announcement) {
$ob = new Transformer\AnnouncementTransformer($this->model, $this->keys);
}

$ob->setUser(Session::getUser())->rebuild();

return $ob;
Expand Down

0 comments on commit 7abc712

Please sign in to comment.