Skip to content
Snippets Groups Projects
Commit 95b52028 authored by Brice Maron's avatar Brice Maron
Browse files

Correct usage of approot

parent bf6abdde
Branches
No related tags found
No related merge requests found
......@@ -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');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment