* changed variable list as per comment on r79954 left only wgDBtype
[lhc/web/wiklou.git] / includes / HistoryBlob.php
index 13bf167..15f767e 100644 (file)
@@ -14,14 +14,14 @@ interface HistoryBlob
         *
         * @return String: the key for getItem()
         */
-       public function addItem( $text );
+       function addItem( $text );
 
        /**
         * Get item by key, or false if the key is not present
         *
         * @return String or false
         */
-       public function getItem( $key );
+       function getItem( $key );
 
        /**
         * Set the "default text"
@@ -31,7 +31,7 @@ interface HistoryBlob
         *
         * Default text is not required for two-part external storage URLs.
         */
-       public function setText( $text );
+       function setText( $text );
 
        /**
         * Get default text. This is called from Revision::getRevisionText()
@@ -53,7 +53,7 @@ class ConcatenatedGzipHistoryBlob implements HistoryBlob
        public $mMaxCount = 100;
 
        /** Constructor */
-       public function ConcatenatedGzipHistoryBlob() {
+       public function __construct() {
                if ( !function_exists( 'gzdeflate' ) ) {
                        throw new MWException( "Need zlib support to read or write this kind of history object (ConcatenatedGzipHistoryBlob)\n" );
                }
@@ -157,7 +157,7 @@ class HistoryBlobStub {
         * @param $hash Strng: the content hash of the text
         * @param $oldid Integer: the old_id for the CGZ object
         */
-       function HistoryBlobStub( $hash = '', $oldid = 0 ) {
+       function __construct( $hash = '', $oldid = 0 ) {
                $this->mHash = $hash;
        }
 
@@ -253,7 +253,7 @@ class HistoryBlobCurStub {
        /**
         * @param $curid Integer: the cur_id pointed to
         */
-       function HistoryBlobCurStub( $curid = 0 ) {
+       function __construct( $curid = 0 ) {
                $this->mCurId = $curid;
        }