diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index f46ec2a584..81f1369cb5 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 ));