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:
7084440
)
Remove PHP4 "support" from using constant in update.php
author
Reedy
<reedy@wikimedia.org>
Mon, 11 May 2015 14:34:02 +0000
(15:34 +0100)
committer
Reedy
<reedy@wikimedia.org>
Mon, 11 May 2015 14:34:02 +0000
(15:34 +0100)
Change-Id: I4743d10a3084a7dc4806d73662b19aa6751b0c18
maintenance/update.php
patch
|
blob
|
history
diff --git
a/maintenance/update.php
b/maintenance/update.php
index
2ba5daf
..
b8af5e9
100755
(executable)
--- a/
maintenance/update.php
+++ b/
maintenance/update.php
@@
-63,8
+63,7
@@
class UpdateMediaWiki extends Maintenance {
}
function getDbType() {
- /* If we used the class constant PHP4 would give a parser error here */
- return 2; /* Maintenance::DB_ADMIN */
+ return Maintenance::DB_ADMIN;
}
function compatChecks() {