Merge pull request #25149 from owncloud/backport25146
emit correct signal when disabling an app
This commit is contained in:
commit
82384ab91c
|
@ -256,7 +256,7 @@ class AppManager implements IAppManager {
|
|||
}
|
||||
unset($this->installedAppsCache[$appId]);
|
||||
$this->appConfig->setValue($appId, 'enabled', 'no');
|
||||
$this->dispatcher->dispatch(ManagerEvent::EVENT_APP_ENABLE, new ManagerEvent(
|
||||
$this->dispatcher->dispatch(ManagerEvent::EVENT_APP_DISABLE, new ManagerEvent(
|
||||
ManagerEvent::EVENT_APP_DISABLE, $appId
|
||||
));
|
||||
$this->clearAppsCache();
|
||||
|
|
Loading…
Reference in New Issue