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
39179697
Commit
39179697
authored
Jun 16, 2016
by
Vincent Petry
Committed by
GitHub
Jun 16, 2016
Browse files
Merge pull request #25146 from owncloud/butonic-patch-1
emit correct signal when disabling an app
parents
d8c9db62
592ac6f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/App/AppManager.php
View file @
39179697
...
...
@@ -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