Self-revert r91453: not a well thought out addition to the EditPage::showEditForm...
[lhc/web/wiklou.git] / includes / EditPage.php
index f3b24c5..9563701 100644 (file)
@@ -1330,7 +1330,7 @@ class EditPage {
                        $previewOutput = $this->getPreviewText();
                }
 
-               wfRunHooks( 'EditPage::showEditForm:initial', array( &$this, &$formCallback ) );
+               wfRunHooks( 'EditPage::showEditForm:initial', array( &$this ) );
 
                $this->setHeaders();