Supress the root namespacing from DBQueryError.
authorPlatonides <platonides@gmail.com>
Wed, 9 Jan 2013 13:30:30 +0000 (14:30 +0100)
committerPlatonides <platonides@gmail.com>
Wed, 9 Jan 2013 13:30:30 +0000 (14:30 +0100)
Makes check-vars happy.

Change-Id: Iaaa4cad5b54a20b2f8ed93dd14eaf12e3c9ebd03

includes/db/ORMTable.php

index 7ae10ea..4079315 100644 (file)
@@ -163,7 +163,7 @@ abstract class ORMTable extends DBAccessBase implements IORMTable {
                if ( $result === false ) {
                        // Database connection was in "ignoreErrors" mode. We don't like that.
                        // So, we emulate the DBQueryError that should have been thrown.
-                       $error = new \DBQueryError(
+                       $error = new DBQueryError(
                                $dbr,
                                $dbr->lastError(),
                                $dbr->lastErrno(),