summaryrefslogtreecommitdiff
path: root/inc/parser/parser.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-22 12:12:53 +0200
committerandi <andi@splitbrain.org>2005-04-22 12:12:53 +0200
commit433bef32d237280f4b789c93c0b33f863533e8b4 (patch)
tree5d17c5372d93b46c3bf38259e7ade51449f2a94c /inc/parser/parser.php
parentcf81b04aec397fc5abc6ec1078d5f77df2b72770 (diff)
downloadrpg-433bef32d237280f4b789c93c0b33f863533e8b4.tar.gz
rpg-433bef32d237280f4b789c93c0b33f863533e8b4.tar.bz2
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
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r--inc/parser/parser.php2
1 files changed, 1 insertions, 1 deletions
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;