From 433bef32d237280f4b789c93c0b33f863533e8b4 Mon Sep 17 00:00:00 2001 From: andi Date: Fri, 22 Apr 2005 12:12:53 +0200 Subject: removed magical __ The PHP manual states "PHP reserves all function names starting with __ as magical. It is recommended that you do not use function names with __ in PHP unless you want some documented magic functionality." (http://www.php.net/manual/en/language.oop.php) I renamed all functions starting with __ to _ darcs-hash:20050422101253-9977f-79b7cb3ac3b5b8287073ab0bc7d9e78f115b4a58.gz --- inc/parser/parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/parser/parser.php') diff --git a/inc/parser/parser.php b/inc/parser/parser.php index 687ae5170..23f2c13d7 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -76,7 +76,7 @@ class Doku_Parser { // Normalize CRs and pad doc $doc = "\n".str_replace("\r\n","\n",$doc)."\n"; $this->Lexer->parse($doc); - $this->Handler->__finalize(); + $this->Handler->_finalize(); return $this->Handler->calls; } else { return FALSE; -- cgit v1.2.3