dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ffd97d
)
Supress the root namespacing from DBQueryError.
author
Platonides
<platonides@gmail.com>
Wed, 9 Jan 2013 13:30:30 +0000
(14:30 +0100)
committer
Platonides
<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
patch
|
blob
|
history
diff --git
a/includes/db/ORMTable.php
b/includes/db/ORMTable.php
index
7ae10ea
..
4079315
100644
(file)
--- a/
includes/db/ORMTable.php
+++ b/
includes/db/ORMTable.php
@@
-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(),