From: Daniel Friesen Date: Tue, 19 Aug 2008 01:19:19 +0000 (+0000) Subject: Revert 39613; Please don't mark that function static. It is not called statically... X-Git-Tag: 1.31.0-rc.0~45807 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=f3c8e13f38f0b7e9fdeec239eb8176c8ee31afb8;p=lhc%2Fweb%2Fwiklou.git Revert 39613; Please don't mark that function static. It is not called statically, and is not meant to be. That is meant as a test to see if there are any markers inside of part of the string being worked on. Ideally in the future markers will have unique identifier so that using multiple link marker replacers don't clash with each other. --- diff --git a/includes/parser/Parser_LinkHooks.php b/includes/parser/Parser_LinkHooks.php index e58d3ce703..ac211e9d18 100644 --- a/includes/parser/Parser_LinkHooks.php +++ b/includes/parser/Parser_LinkHooks.php @@ -362,7 +362,7 @@ class LinkMarkerReplacer { return ""; } - static function findMarker( $string ) { + function findMarker( $string ) { return (bool) preg_match('//', $string ); }