diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-03-02 22:19:06 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-03-02 22:19:06 +0000 |
commit | 86fed4c226f2ca20e3924e1b9483aeea4073fc3b (patch) | |
tree | 746ab9fe3b1564adff15f8517a88a459b92040c6 /lib/db.php | |
parent | 8188a9f51bdf0845dcbc24ffe654118b695febc6 (diff) | |
download | nextcloud-server-86fed4c226f2ca20e3924e1b9483aeea4073fc3b.tar.gz nextcloud-server-86fed4c226f2ca20e3924e1b9483aeea4073fc3b.zip |
Update database.xml locations. Fix dbexport.xml.
Diffstat (limited to 'lib/db.php')
-rw-r--r-- | lib/db.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/db.php b/lib/db.php index 2348da908ef..07e58590966 100644 --- a/lib/db.php +++ b/lib/db.php @@ -493,10 +493,10 @@ class OC_DB { $apps = OC_App::getAllApps(); // Delete the old tables - self::removeDBStructure( OC::$DOCUMENTROOT . 'db_structure.xml' ); + self::removeDBStructure( OC::$SERVERROOT . '/db_structure.xml' ); foreach($apps as $app){ - $path = '/apps/'.$app.'/appinfo/database.xml'; + $path = OC::$SERVERROOT.'/apps/'.$app.'/appinfo/database.xml'; if(file_exists($path)){ self::removeDBStructure( $path ); } |