diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-03-06 17:56:44 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-03-06 17:56:44 +0100 |
commit | b2a9ea08a3f27eb5f218dd54cd1d1c58582e4f3e (patch) | |
tree | a866913b1224e5b42ef1aa5d27cf0c6c981c3d70 /lib/private/App/AppManager.php | |
parent | 96a5752340bc115ad8dffa50cfe3846557f82cc5 (diff) | |
download | nextcloud-server-b2a9ea08a3f27eb5f218dd54cd1d1c58582e4f3e.tar.gz nextcloud-server-b2a9ea08a3f27eb5f218dd54cd1d1c58582e4f3e.zip |
Remove unused and outdated hook
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/App/AppManager.php')
-rw-r--r-- | lib/private/App/AppManager.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index f46ec2a584e..81f1369cb5e 100644 --- a/lib/private/App/AppManager.php +++ b/lib/private/App/AppManager.php @@ -294,9 +294,6 @@ class AppManager implements IAppManager { \OC_App::executeRepairSteps($appId, $appData['repair-steps']['uninstall']); } - // emit disable hook - needed anymore ? - \OC_Hook::emit('OC_App', 'pre_disable', array('app' => $appId)); - $this->dispatcher->dispatch(ManagerEvent::EVENT_APP_DISABLE, new ManagerEvent( ManagerEvent::EVENT_APP_DISABLE, $appId )); |