dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "rdbms: Pass required parameter"
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
database
/
Database.php
diff --git
a/includes/libs/rdbms/database/Database.php
b/includes/libs/rdbms/database/Database.php
index
2c40c72
..
7865db4
100644
(file)
--- a/
includes/libs/rdbms/database/Database.php
+++ b/
includes/libs/rdbms/database/Database.php
@@
-97,9
+97,9
@@
abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware
protected $connLogger;
/** @var LoggerInterface */
protected $queryLogger;
protected $connLogger;
/** @var LoggerInterface */
protected $queryLogger;
- /** @var call
back
Error logging callback */
+ /** @var call
able
Error logging callback */
protected $errorLogger;
protected $errorLogger;
- /** @var call
back
Deprecation logging callback */
+ /** @var call
able
Deprecation logging callback */
protected $deprecationLogger;
/** @var resource|null Database connection */
protected $deprecationLogger;
/** @var resource|null Database connection */
@@
-3742,7
+3742,7
@@
abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware
}
}
if ( $pos < 0 ) {
}
}
if ( $pos < 0 ) {
- throw new DBUnexpectedError( "Atomic section not found (for $fname)" );
+ throw new DBUnexpectedError(
$this,
"Atomic section not found (for $fname)" );
}
// Remove all descendant sections and re-index the array
$excisedIds = [];
}
// Remove all descendant sections and re-index the array
$excisedIds = [];