From: jeroendedauw Date: Tue, 24 Jul 2012 09:34:01 +0000 (+0200) Subject: Comment out call causing an error and assigning to an unused var anyway X-Git-Tag: 1.31.0-rc.0~22097^2^2~69 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=45d45dc7ee24dd6eb4f78214e87950c3ae2432a3;p=lhc%2Fweb%2Fwiklou.git Comment out call causing an error and assigning to an unused var anyway Change-Id: Ib7ce5f53b05449ae2d80f5e7ade3a634263c0d9a --- diff --git a/includes/WikiPage.php b/includes/WikiPage.php index 613f4486eb..11ac819f1d 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -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 );