diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-02 13:12:16 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-02 13:12:16 +0300 |
commit | 7f563dc3e9a03284d9eff69214b6686cf9eb1916 (patch) | |
tree | 4031bd27c53623ac8bd55ad044723494635104d9 /apps/systemtags/appinfo | |
parent | b5e40bc8f615caeba0a0b5d5d777037fff87e2f9 (diff) |
Fix path match
Diffstat (limited to 'apps/systemtags/appinfo')
-rw-r--r-- | apps/systemtags/appinfo/app.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/systemtags/appinfo/app.php b/apps/systemtags/appinfo/app.php index d948f4857f6..0bb57e1227b 100644 --- a/apps/systemtags/appinfo/app.php +++ b/apps/systemtags/appinfo/app.php @@ -48,11 +48,14 @@ $eventDispatcher->addListener( $activityManager = \OC::$server->getActivityManager(); $activityManager->registerExtension(function() { $application = new \OCP\AppFramework\App('systemtags'); - return $application->getContainer()->query('OCA\SystemTags\Activity\Extension'); + /** @var \OCA\SystemTags\Activity\Extension $extension */ + $extension = $application->getContainer()->query('OCA\SystemTags\Activity\Extension'); + return $extension; }); $managerListener = function(ManagerEvent $event) use ($activityManager) { $application = new \OCP\AppFramework\App('systemtags'); + /** @var \OCA\SystemTags\Activity\Listener $listener */ $listener = $application->getContainer()->query('OCA\SystemTags\Activity\Listener'); $listener->event($event); }; @@ -63,6 +66,7 @@ $eventDispatcher->addListener(ManagerEvent::EVENT_UPDATE, $managerListener); $mapperListener = function(MapperEvent $event) use ($activityManager) { $application = new \OCP\AppFramework\App('systemtags'); + /** @var \OCA\SystemTags\Activity\Listener $listener */ $listener = $application->getContainer()->query('OCA\SystemTags\Activity\Listener'); $listener->mapperEvent($event); }; |