dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7c1ecc
)
Followup r86367, don't make constructor protected just yet, few underlying callers...
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 19 Apr 2011 10:40:32 +0000
(10:40 +0000)
committer
Sam 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
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
11c2d5b
..
5bf8998
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-79,7
+79,7
@@
class Title {
/**
* Constructor
*/
-
protected
function __construct() { }
+
/*protected*/
function __construct() { }
/**
* Create a new Title from a prefixed DB key