Index: trunk/phase3/maintenance/update.php |
— | — | @@ -3,6 +3,7 @@ |
4 | 4 | * Run all updaters. |
5 | 5 | * |
6 | 6 | * This is used when the database schema is modified and we need to apply patches. |
| 7 | + * It is kept compatible with php 4 parsing so that it can give out a meaningful error. |
7 | 8 | * |
8 | 9 | * @file |
9 | 10 | * @todo document |
— | — | @@ -30,7 +31,7 @@ |
31 | 32 | } |
32 | 33 | |
33 | 34 | function getDbType() { |
34 | | - return DB_ADMIN; |
| 35 | + return 2 /* Maintenance::DB_ADMIN */; |
35 | 36 | } |
36 | 37 | |
37 | 38 | function execute() { |