From f3c8e13f38f0b7e9fdeec239eb8176c8ee31afb8 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Tue, 19 Aug 2008 01:19:19 +0000 Subject: [PATCH] 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. --- includes/parser/Parser_LinkHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1