Correct usage of approot

This commit is contained in:
Brice Maron 2012-06-21 21:13:12 +00:00
parent bf6abdde2d
commit 95b5202893
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}