Correct usage of approot

remotes/origin/stable45
Brice Maron 13 years ago
parent bf6abdde2d
commit 95b5202893
  1. 2
      apps/gallery/appinfo/update.php

@ -7,5 +7,5 @@ if (version_compare($currentVersion, '0.5.0', '<')) {
$stmt = OCP\DB::prepare('DROP TABLE IF EXISTS *PREFIX*gallery_albums');
$stmt->execute();
\OC_DB::createDbFromStructure(OC::$APPSROOT.'/apps/'.$appid.'/appinfo/database.xml');
\OC_DB::createDbFromStructure(OC_App::getAppPath($appid).'/appinfo/database.xml');
}

Loading…
Cancel
Save