1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/migrations] Process migration steps and move to PHP5 code

This commit is contained in:
Nils Adermann
2012-11-11 12:12:05 +01:00
committed by Nathan Guse
parent 82efb3e446
commit 41de95bc11
3 changed files with 128 additions and 33 deletions

View File

@@ -27,6 +27,13 @@ class phpbb_dbal_migration_dummy extends phpbb_db_migration
function update_data()
{
$this->db->sql_query('UPDATE phpbb_config SET extra_column = 1');
return array(
array('if', array(true, array('custom', array(array($this, 'set_extra_column'))))),
);
}
public function set_extra_column()
{
$this->sql_query('UPDATE phpbb_config SET extra_column = 1');
}
}