Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-04 19:21:33 +0400
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-04 19:21:33 +0400
commite7eea3dd2e3eb0f5bd77901167656275d835cfb3 (patch)
tree67b2e5b53bc012c745768602f6b3e0d95a744399 /lib
parent75058370795fda4f06f589ee970edf94dc0ddf88 (diff)
Use hooks to send updates from apps
Diffstat (limited to 'lib')
-rwxr-xr-xlib/app.php1
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));
}
}