mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge branch 'master' into filesystem
This commit is contained in:
commit
286fd78865
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue