Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -63,7 +63,6 @@ |
64 | 64 | */ |
65 | 65 | public function registerInputType( $inputTypeClass ) { |
66 | 66 | global $smwgContLang; |
67 | | - global $sfgInitJSFunctions, $sfgValidationJSFunctions; |
68 | 67 | |
69 | 68 | $inputTypeName = call_user_func( array( $inputTypeClass, 'getName' ) ); |
70 | 69 | $this->mInputTypeClasses[$inputTypeName] = $inputTypeClass; |
— | — | @@ -361,8 +360,7 @@ |
362 | 361 | $oldParser = $wgParser; |
363 | 362 | |
364 | 363 | $wgParser = unserialize( serialize( $oldParser ) ); // deep clone of parser |
365 | | - $wgParser->clearState(); |
366 | | - |
| 364 | + |
367 | 365 | // Get the form definition from the cache, if we're using caching and it's |
368 | 366 | // there. |
369 | 367 | // $got_form_def_from_cache = false; |