Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
592ac6f7
Commit
592ac6f7
authored
Jun 16, 2016
by
Jörn Friedrich Dreyer
Committed by
GitHub
Jun 16, 2016
Browse files
emit correct signal when disabling an app
parent
d7f98fcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/App/AppManager.php
View file @
592ac6f7
...
...
@@ -257,7 +257,7 @@ class AppManager implements IAppManager {
}
unset
(
$this
->
installedAppsCache
[
$appId
]);
$this
->
appConfig
->
setValue
(
$appId
,
'enabled'
,
'no'
);
$this
->
dispatcher
->
dispatch
(
ManagerEvent
::
EVENT_APP_
EN
ABLE
,
new
ManagerEvent
(
$this
->
dispatcher
->
dispatch
(
ManagerEvent
::
EVENT_APP_
DIS
ABLE
,
new
ManagerEvent
(
ManagerEvent
::
EVENT_APP_DISABLE
,
$appId
));
$this
->
clearAppsCache
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment