summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/app.php')
-rw-r--r--lib/app.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php
index 7cb18a7ab00..c4cdd216838 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -533,6 +533,9 @@ class OC_App{
if(file_exists(OC::$APPSROOT.'/apps/'.$appid.'/appinfo/database.xml')){
OC_DB::updateDbFromStructure(OC::$APPSROOT.'/apps/'.$appid.'/appinfo/database.xml');
}
+ if(!self::isEnabled($appid)){
+ return;
+ }
if(file_exists(OC::$APPSROOT.'/apps/'.$appid.'/appinfo/update.php')){
include OC::$APPSROOT.'/apps/'.$appid.'/appinfo/update.php';
}