From: <var...@us...> - 2014-11-09 18:12:09
|
Revision: 9295 http://sourceforge.net/p/phpwiki/code/9295 Author: vargenau Date: 2014-11-09 18:12:06 +0000 (Sun, 09 Nov 2014) Log Message: ----------- function renameHelper is static Modified Paths: -------------- trunk/lib/plugin/WikiAdminRename.php Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2014-11-09 18:10:01 UTC (rev 9294) +++ trunk/lib/plugin/WikiAdminRename.php 2014-11-09 18:12:06 UTC (rev 9295) @@ -50,7 +50,7 @@ )); } - public function renameHelper($name, $from, $to, $options = false) + public static function renameHelper($name, $from, $to, $options = array()) { if (isset($options['regex'])) { return preg_replace('/' . $from . '/' . (isset($options['icase']) ? 'i' : ''), $to, $name); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |