http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88685
Revision: 88685
Author: foxtrott
Date: 2011-05-23 21:01:31 +0000 (Mon, 23 May 2011)
Log Message:
-----------
followup r88564: no need to call clearState, it's called by parse anyway
Modified Paths:
--------------
trunk/extensions/SemanticForms/includes/SF_FormPrinter.php
Modified: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php
===================================================================
--- trunk/extensions/SemanticForms/includes/SF_FormPrinter.php 2011-05-23
20:53:47 UTC (rev 88684)
+++ trunk/extensions/SemanticForms/includes/SF_FormPrinter.php 2011-05-23
21:01:31 UTC (rev 88685)
@@ -63,7 +63,6 @@
*/
public function registerInputType( $inputTypeClass ) {
global $smwgContLang;
- global $sfgInitJSFunctions, $sfgValidationJSFunctions;
$inputTypeName = call_user_func( array( $inputTypeClass,
'getName' ) );
$this->mInputTypeClasses[$inputTypeName] = $inputTypeClass;
@@ -361,8 +360,7 @@
$oldParser = $wgParser;
$wgParser = unserialize( serialize( $oldParser ) ); // deep
clone of parser
- $wgParser->clearState();
-
+
// Get the form definition from the cache, if we're using
caching and it's
// there.
// $got_form_def_from_cache = false;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs