Comment out call causing an error and assigning to an unused var anyway
authorjeroendedauw <jeroendedauw@gmail.com>
Tue, 24 Jul 2012 09:34:01 +0000 (11:34 +0200)
committerjeroendedauw <jeroendedauw@gmail.com>
Tue, 24 Jul 2012 09:34:01 +0000 (11:34 +0200)
Change-Id: Ib7ce5f53b05449ae2d80f5e7ade3a634263c0d9a

includes/WikiPage.php

index 613f448..11ac819 100644 (file)
@@ -1864,7 +1864,7 @@ class WikiPage extends Page {
                        $revisionId = $revision->insertOn( $dbw );
 
                        # Bug 37225: use accessor to get the text as Revision may trim it
-                       $text = $revision->getText(); // sanity; EditPage should trim already
+                       //$text = $revision->getText(); // sanity; EditPage should trim already
 
                        # Update the page record with revision data
                        $this->updateRevisionOn( $dbw, $revision, 0 );