From: Antoine Musso Date: Sat, 21 Apr 2007 15:12:56 +0000 (+0000) Subject: Fix r21443 : privates are public :o) X-Git-Tag: 1.31.0-rc.0~53307 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=412c2cb99f2363d1efd34b330dd8aae21210661b;p=lhc%2Fweb%2Fwiklou.git Fix r21443 : privates are public :o) --- diff --git a/includes/HistoryBlob.php b/includes/HistoryBlob.php index 719ac8b44c..9dfd6d61d4 100644 --- a/includes/HistoryBlob.php +++ b/includes/HistoryBlob.php @@ -53,8 +53,8 @@ interface HistoryBlob */ class ConcatenatedGzipHistoryBlob implements HistoryBlob { - private $mVersion = 0, $mCompressed = false, $mItems = array(), $mDefaultHash = ''; - private $mFast = 0, $mSize = 0; + public $mVersion = 0, $mCompressed = false, $mItems = array(), $mDefaultHash = ''; + public $mFast = 0, $mSize = 0; /** Constructor */ public function ConcatenatedGzipHistoryBlob() { @@ -123,7 +123,7 @@ class ConcatenatedGzipHistoryBlob implements HistoryBlob } /** @todo document */ - private function compress() { + public function compress() { if ( !$this->mCompressed ) { $this->mItems = gzdeflate( serialize( $this->mItems ) ); $this->mCompressed = true; @@ -131,7 +131,7 @@ class ConcatenatedGzipHistoryBlob implements HistoryBlob } /** @todo document */ - private function uncompress() { + public function uncompress() { if ( $this->mCompressed ) { $this->mItems = unserialize( gzinflate( $this->mItems ) ); $this->mCompressed = false;