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 "Use {{int:}} on MediaWiki:Blockedtext and MediaWiki:Autoblockedtext"
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
exception
/
DBError.php
diff --git
a/includes/libs/rdbms/exception/DBError.php
b/includes/libs/rdbms/exception/DBError.php
index
5023800
..
aad219d
100644
(file)
--- a/
includes/libs/rdbms/exception/DBError.php
+++ b/
includes/libs/rdbms/exception/DBError.php
@@
-35,10
+35,11
@@
class DBError extends RuntimeException {
* Construct a database error
* @param IDatabase $db Object which threw the error
* @param string $error A simple error message to be used for debugging
* Construct a database error
* @param IDatabase $db Object which threw the error
* @param string $error A simple error message to be used for debugging
+ * @param \Exception|\Throwable|null $prev Previous exception
*/
*/
- public function __construct( IDatabase $db = null, $error ) {
+ public function __construct( IDatabase $db = null, $error, $prev = null ) {
+ parent::__construct( $error, 0, $prev );
$this->db = $db;
$this->db = $db;
- parent::__construct( $error );
}
}
}
}