add post_enable hook if a app gets enabled

This commit is contained in:
Bjoern Schiessle 2013-10-22 16:15:19 +02:00
parent cadd71ec8a
commit bd450d6f6b
1 changed files with 1 additions and 0 deletions

View File

@ -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"));