diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-22 14:59:51 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-22 14:59:51 +0100 |
commit | 9619f49ba44e264049da5b00e1d38f40a141e491 (patch) | |
tree | 8988c77d295b8cc2471171beedc6c3913f096ae8 /apps/systemtags | |
parent | b5fab4ed9cc23b0408057f9e8b0cb90b2e50fa73 (diff) | |
download | nextcloud-server-9619f49ba44e264049da5b00e1d38f40a141e491.tar.gz nextcloud-server-9619f49ba44e264049da5b00e1d38f40a141e491.zip |
Fix undefined systemtags stuff
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/systemtags')
-rw-r--r-- | apps/systemtags/appinfo/app.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/systemtags/appinfo/app.php b/apps/systemtags/appinfo/app.php index 039df2ac9f7..2c095753ce8 100644 --- a/apps/systemtags/appinfo/app.php +++ b/apps/systemtags/appinfo/app.php @@ -21,8 +21,6 @@ * */ -use OCA\SystemTags\Activity\Extension; -use OCA\SystemTags\Activity\Listener; use OCP\SystemTag\ManagerEvent; use OCP\SystemTag\MapperEvent; @@ -46,7 +44,7 @@ $eventDispatcher->addListener( } ); -$managerListener = function(ManagerEvent $event) use ($activityManager) { +$managerListener = function(ManagerEvent $event) { $application = new \OCP\AppFramework\App('systemtags'); /** @var \OCA\SystemTags\Activity\Listener $listener */ $listener = $application->getContainer()->query('OCA\SystemTags\Activity\Listener'); @@ -57,7 +55,7 @@ $eventDispatcher->addListener(ManagerEvent::EVENT_CREATE, $managerListener); $eventDispatcher->addListener(ManagerEvent::EVENT_DELETE, $managerListener); $eventDispatcher->addListener(ManagerEvent::EVENT_UPDATE, $managerListener); -$mapperListener = function(MapperEvent $event) use ($activityManager) { +$mapperListener = function(MapperEvent $event) { $application = new \OCP\AppFramework\App('systemtags'); /** @var \OCA\SystemTags\Activity\Listener $listener */ $listener = $application->getContainer()->query('OCA\SystemTags\Activity\Listener'); |