Skip to content

Commit

Permalink
Fixed bug in listener after git pull
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsavdar committed May 29, 2015
1 parent 8be8337 commit e213ad4
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Listener/ClarolinePluginListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Claroline\CoreBundle\Event\InjectJavascriptEvent;
use Claroline\CoreBundle\Listener\NoHttpRequestException;
use Claroline\CoreBundle\Event\PluginOptionsEvent;
use Claroline\CoreBundle\Event\InjectJavascriptEvent;
use Doctrine\ORM\NoResultException;
use Inwicast\ClarolinePluginBundle\Exception\NoMediacenterException;
use Inwicast\ClarolinePluginBundle\Exception\NoMediacenterUserException;
Expand Down Expand Up @@ -190,19 +189,6 @@ public function onToolOpen(DisplayToolEvent $event)
$event->stopPropagation();
}

/**
* @DI\Observe("inject_javascript_layout")
* @param InjectJavascriptEvent $event
* @return string
*/
public function onInjectJs(InjectJavascriptEvent $event)
{
$content = $this->templating->render('InwicastClarolinePluginBundle:InjectPlugin:inject.html.twig');
$event->addContent($content);

return $content;
}

/**
* @return \Inwicast\ClarolinePluginBundle\Manager\MediacenterManager
*/
Expand Down

0 comments on commit e213ad4

Please sign in to comment.