Remove unncessary instance of SysAnnouncement - refs BT#10922

ofaj
Angel Fernando Quiroz Campos 9 years ago
parent fcf0607000
commit 49721d3d18
  1. 1
      main/inc/lib/system_announcements.lib.php

@ -568,7 +568,6 @@ class SystemAnnouncementManager
}
$announcement = $em->find('ChamiloCoreBundle:SysAnnouncement', $id);
$announcement = new \Chamilo\CoreBundle\Entity\SysAnnouncement();
if (!$announcement) {
return false;

Loading…
Cancel
Save