Followup r86367, don't make constructor protected just yet, few underlying callers...
authorSam Reed <reedy@users.mediawiki.org>
Tue, 19 Apr 2011 10:40:32 +0000 (10:40 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 19 Apr 2011 10:40:32 +0000 (10:40 +0000)
Need a way to do a blank title without using the constructor (Title::newBlank() maybe?)

* (bug 28608) Fatal error: Call to protected Title::__construct()

includes/Title.php

index 11c2d5b..5bf8998 100644 (file)
@@ -79,7 +79,7 @@ class Title {
        /**
         * Constructor
         */
-       protected function __construct() { }
+       /*protected*/ function __construct() { }
 
        /**
         * Create a new Title from a prefixed DB key