always return a bool in OC_App::updateApp

This commit is contained in:
Georg Ehrke 2014-06-10 13:56:05 +02:00
parent 5d4f3baf56
commit 6bf06890e7

View file

@ -1163,7 +1163,7 @@ class OC_App {
OC_DB::updateDbFromStructure(self::getAppPath($appid) . '/appinfo/database.xml');
}
if (!self::isEnabled($appid)) {
return;
return false;
}
if (file_exists(self::getAppPath($appid) . '/appinfo/update.php')) {
self::loadApp($appid);