diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-26 17:40:57 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-26 17:40:57 +0200 |
commit | 286fd78865c6a0267bf11d9e50e72e23932b3f23 (patch) | |
tree | 578102a0a303ad8c1b753caa4b487ee218cf3491 /lib/app.php | |
parent | 8bce661e4ddedb611d5873c578203dfda631ce7e (diff) | |
parent | 1888ac0d41823d9d15e28279d3a701412c679460 (diff) | |
download | nextcloud-server-286fd78865c6a0267bf11d9e50e72e23932b3f23.tar.gz nextcloud-server-286fd78865c6a0267bf11d9e50e72e23932b3f23.zip |
Merge branch 'master' into filesystem
Diffstat (limited to 'lib/app.php')
-rwxr-xr-x | lib/app.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php index 393eac87911..8f5b5fe78f9 100755 --- a/lib/app.php +++ b/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'); } |