r112686 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112685‎ | r112686 | r112687 >
Date:14:14, 29 February 2012
Author:yaron
Status:deferred
Tags:
Comment:
Fix for new class, for MW 1.18
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormEditAction.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormEditAction.php
@@ -210,5 +210,11 @@
211211
212212 return false;
213213 }
214 -
 214+
 215+ /**
 216+ * A dummy method - this is needed for MediaWiki 1.18, where
 217+ * Action::getRestriction() is abstract and needs to be implemented.
 218+ */
 219+ public function getRestriction() {
 220+ }
215221 }