diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-04 10:21:33 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-04 10:21:33 -0500 |
commit | e7eea3dd2e3eb0f5bd77901167656275d835cfb3 (patch) | |
tree | 67b2e5b53bc012c745768602f6b3e0d95a744399 /lib/app.php | |
parent | 75058370795fda4f06f589ee970edf94dc0ddf88 (diff) | |
download | nextcloud-server-e7eea3dd2e3eb0f5bd77901167656275d835cfb3.tar.gz nextcloud-server-e7eea3dd2e3eb0f5bd77901167656275d835cfb3.zip |
Use hooks to send updates from apps
Diffstat (limited to 'lib/app.php')
-rwxr-xr-x | lib/app.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php index be6d5ab3dd3..596f3bf3a79 100755 --- a/lib/app.php +++ b/lib/app.php @@ -642,6 +642,7 @@ class OC_App{ echo 'Failed to upgrade "'.$app.'". Exception="'.$e->getMessage().'"'; die; } + OC_Hook::emit('update', 'success', 'Updated '.$app.' app'); OC_Appconfig::setValue($app, 'installed_version', OC_App::getAppVersion($app)); } } |