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:
34ae184
)
Follow up r75474
author
Platonides
<platonides@users.mediawiki.org>
Wed, 27 Oct 2010 13:56:58 +0000
(13:56 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Wed, 27 Oct 2010 13:56:58 +0000
(13:56 +0000)
maintenance/update.php
patch
|
blob
|
history
diff --git
a/maintenance/update.php
b/maintenance/update.php
index
84a1d46
..
57ce9aa
100644
(file)
--- a/
maintenance/update.php
+++ b/
maintenance/update.php
@@
-3,6
+3,7
@@
* Run all updaters.
*
* This is used when the database schema is modified and we need to apply patches.
+ * It is kept compatible with php 4 parsing so that it can give out a meaningful error.
*
* @file
* @todo document
@@
-30,7
+31,7
@@
class UpdateMediaWiki extends Maintenance {
}
function getDbType() {
- return
DB_ADMIN
;
+ return
2 /* Maintenance::DB_ADMIN */
;
}
function execute() {