From 840a5141ac5487c27bc46d82ae0a873f14694f0c Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 13 Sep 2004 07:44:27 +0000 Subject: [PATCH] allow external clearing of mBodytext, without destroying OutputPage object, required for refreshLinks memory-efficient operation --- includes/OutputPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) -- 2.20.1