Remove unused and outdated hook
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
96a5752340
commit
b2a9ea08a3
|
@ -294,9 +294,6 @@ class AppManager implements IAppManager {
|
||||||
\OC_App::executeRepairSteps($appId, $appData['repair-steps']['uninstall']);
|
\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(
|
$this->dispatcher->dispatch(ManagerEvent::EVENT_APP_DISABLE, new ManagerEvent(
|
||||||
ManagerEvent::EVENT_APP_DISABLE, $appId
|
ManagerEvent::EVENT_APP_DISABLE, $appId
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue