Removed ampersand in HTMLFileCache constructor
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 1 Jul 2011 22:01:48 +0000 (22:01 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 1 Jul 2011 22:01:48 +0000 (22:01 +0000)
includes/cache/HTMLFileCache.php

index 0a01bb7..1095da2 100644 (file)
@@ -27,7 +27,7 @@ class HTMLFileCache {
        var $mTitle;
        var $mFileCache, $mType;
 
-       public function __construct( &$title, $type = 'view' ) {
+       public function __construct( $title, $type = 'view' ) {
                $this->mTitle = $title;
                $this->mType = ($type == 'raw' || $type == 'view' ) ? $type : false;
                $this->fileCacheName(); // init name