Merge "Pass $archivedRevisionCount to the ArticleDeleteComplete hook"
[lhc/web/wiklou.git] / includes / db / IDatabase.php
index aa2a980..41b131f 100644 (file)
@@ -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