dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295dbec
)
Revert r81738. Extensions calling clearState() with no mOptions fixed.
author
Platonides
<platonides@users.mediawiki.org>
Tue, 8 Feb 2011 16:32:30 +0000
(16:32 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Tue, 8 Feb 2011 16:32:30 +0000
(16:32 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
9d9ccad
..
b7c63bf
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-194,9
+194,7
@@
class Parser {
$this->firstCallInit();
}
$this->mOutput = new ParserOutput;
- if( $this->mOptions ) {
- $this->mOptions->registerWatcher( array( $this->mOutput, 'recordOption' ) );
- }
+ $this->mOptions->registerWatcher( array( $this->mOutput, 'recordOption' ) );
$this->mAutonumber = 0;
$this->mLastSection = '';
$this->mDTopen = false;