Browse Source

add post_enable hook if a app gets enabled

remotes/origin/stable6
Bjoern Schiessle 13 years ago
parent
commit
bd450d6f6b
  1. 1
      lib/private/app.php

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

Loading…
Cancel
Save