summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/db.php')
-rw-r--r--lib/db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php
index bcc8657b4a4..dc9e3392d0a 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -526,7 +526,7 @@ class OC_DB {
self::removeDBStructure( OC::$SERVERROOT . '/db_structure.xml' );
foreach($apps as $app){
- $path = OC::$SERVERROOT.'/apps/'.$app.'/appinfo/database.xml';
+ $path = self::getAppPath($app).'/appinfo/database.xml';
if(file_exists($path)){
self::removeDBStructure( $path );
}