summaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-22 16:15:19 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-22 16:15:19 +0200
commitbd450d6f6b32b3174968ff81e3a376366b836387 (patch)
tree2d0a2f99ca45eb79166f465cc426e00a609e7ffc /lib/private/app.php
parentcadd71ec8a02fc5619a9347109f9e588e13b3e3b (diff)
downloadnextcloud-server-bd450d6f6b32b3174968ff81e3a376366b836387.tar.gz
nextcloud-server-bd450d6f6b32b3174968ff81e3a376366b836387.zip
add post_enable hook if a app gets enabled
Diffstat (limited to 'lib/private/app.php')
-rw-r--r--lib/private/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 6f45b6e6dd7..eca40a81cc1 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -249,6 +249,7 @@ class OC_App{
if(isset($appdata['id'])) {
OC_Appconfig::setValue( $app, 'ocsid', $appdata['id'] );
}
+ \OC_Hook::emit('OC_App', 'post_enable', array('app' => $app));
}
}else{
throw new \Exception($l->t("No app name specified"));