Fix for r71140: PostgresUpdater should extend DatabaseUpdater, not Updater
[mediawiki.git] / includes / installer / PostgresUpdater.php
blob7933a2bd4b895f0b3b3db08f7f0a643bb3197eaf
1 <?php
2 /**
3 * PostgreSQL-specific updater.
5 * @file
6 * @ingroup Deployment
7 */
9 /**
10 * Class for handling updates to Postgres databases.
12 * @todo FIXME: Postgres should use sequential updates like Mysql, Sqlite
13 * and everybody else. It never got refactored like it should've. For now,
14 * just wrap the old do_postgres_updates() in this class so we can clean up
15 * the higher-level stuff.
17 * @ingroup Deployment
18 * @since 1.17
21 class PostgresUpdater extends DatabaseUpdater {
22 protected function getCoreUpdateList() {
23 return array();
26 public function doUpdates() {
27 do_postgres_updates();