Skip to content
Snippets Groups Projects
Commit bd450d6f authored by Björn Schießle's avatar Björn Schießle
Browse files

add post_enable hook if a app gets enabled

parent cadd71ec
No related branches found
No related tags found
No related merge requests found
......@@ -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"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment