Merge "Register a couple of test classes in autoloader"
[lhc/web/wiklou.git] / includes / actions / Action.php
index 6ddc596..97d7132 100644 (file)
@@ -417,4 +417,13 @@ abstract class Action {
                        wfTransactionalTimeLimit();
                }
        }
+
+       /**
+        * Indicates whether this action may perform database writes
+        * @return bool
+        * @since 1.27
+        */
+       public function doesWrites() {
+               return false;
+       }
 }