X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fdb%2FIDatabase.php;h=41b131f40ba166c1fbf2ee008f63fbc5c74a5fee;hb=ce3a2f56216256aa22d709e810107c592655034b;hp=aa2a9807a61fd2e442df24dcf6b7dbd628b3bbec;hpb=86ffeb1a7d3e106084aaaeb2c5fdf404855f7eae;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/IDatabase.php b/includes/db/IDatabase.php index aa2a9807a6..41b131f40b 100644 --- a/includes/db/IDatabase.php +++ b/includes/db/IDatabase.php @@ -1220,6 +1220,12 @@ interface IDatabase { */ public function getMasterPos(); + /** + * @return bool Whether the DB is marked as read-only server-side + * @since 1.28 + */ + public function serverIsReadOnly(); + /** * Run a callback as soon as the current transaction commits or rolls back. * An error is thrown if no transaction is pending. Queries in the function will run in