Merge branch 'master' into filesystem

remotes/origin/stable5
Robin Appelman 12 years ago
commit 286fd78865
  1. 4
      lib/app.php

@ -685,6 +685,10 @@ class OC_App{
* @param string $appid
*/
public static function updateApp($appid) {
if(file_exists(self::getAppPath($appid).'/appinfo/preupdate.php')) {
self::loadApp($appid);
include self::getAppPath($appid).'/appinfo/preupdate.php';
}
if(file_exists(self::getAppPath($appid).'/appinfo/database.xml')) {
OC_DB::updateDbFromStructure(self::getAppPath($appid).'/appinfo/database.xml');
}

Loading…
Cancel
Save