Change old php4 style constructor
authorSam Reed <reedy@users.mediawiki.org>
Wed, 15 Dec 2010 22:41:06 +0000 (22:41 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 15 Dec 2010 22:41:06 +0000 (22:41 +0000)
includes/HistoryBlob.php

index 6e20b0f..15f767e 100644 (file)
@@ -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" );
                }