summaryrefslogtreecommitdiffstats
path: root/lib/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/database.php')
-rw-r--r--lib/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/database.php b/lib/database.php
index b620009bf50..970e43c1227 100644
--- a/lib/database.php
+++ b/lib/database.php
@@ -279,7 +279,7 @@ class OC_DB {
// Connect if this did not happen before
if(!self::$schema){
require_once('MDB2/Schema.php');
- self::$schema=&MDB2_Schema::factory(self::$DBConnection);
+ self::$schema=MDB2_Schema::factory(self::$DBConnection);
}
return true;