X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Fdatabase%2FDatabase.php;h=d7364773967b720e2f85f19230e4b29387fe9619;hp=00d9b0b33d9aaf08b554dbf41871f97c82e04b45;hb=24353a60d2c860cd24593d721b45291782a8489f;hpb=4255b4fa6dd303f2c2db65ff67f02c2c561e4821 diff --git a/includes/libs/rdbms/database/Database.php b/includes/libs/rdbms/database/Database.php index 00d9b0b33d..d736477396 100644 --- a/includes/libs/rdbms/database/Database.php +++ b/includes/libs/rdbms/database/Database.php @@ -3682,7 +3682,7 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware * @return array|null ('lag': seconds or false on error, 'since': UNIX timestamp of BEGIN) * @since 1.27 */ - protected function getTransactionLagStatus() { + final protected function getTransactionLagStatus() { return $this->trxLevel ? [ 'lag' => $this->trxReplicaLag, 'since' => $this->trxTimestamp() ] : null;