From: Domas Mituzas Date: Mon, 13 Sep 2004 07:44:27 +0000 (+0000) Subject: allow external clearing of mBodytext, without destroying OutputPage object, X-Git-Tag: 1.5.0alpha1~2013 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=840a5141ac5487c27bc46d82ae0a873f14694f0c;p=lhc%2Fweb%2Fwiklou.git allow external clearing of mBodytext, without destroying OutputPage object, required for refreshLinks memory-efficient operation --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index c208e650ac..97a1b55e03 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1,6 +1,6 @@ mSuppressQuickbar; } function addHTML( $text ) { $this->mBodytext .= $text; } + function clearHTML() { $this->mBodytext = ''; } function debug( $text ) { $this->mDebugtext .= $text; } function setParserOptions( $options )