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 "Register a couple of test classes in autoloader"
[lhc/web/wiklou.git]
/
includes
/
actions
/
Action.php
diff --git
a/includes/actions/Action.php
b/includes/actions/Action.php
index
6ddc596
..
97d7132
100644
(file)
--- a/
includes/actions/Action.php
+++ b/
includes/actions/Action.php
@@
-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;
+ }
}