Browse Source

Remove unused and outdated hook

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/5833/head
Morris Jobke 8 years ago
parent
commit
b2a9ea08a3
No known key found for this signature in database GPG Key ID: FE03C3A163FEDE68
  1. 3
      lib/private/App/AppManager.php

3
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
));

Loading…
Cancel
Save