1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Migration file and change board_home_text to board_index_text

This commit is contained in:
Tabitha Backoff
2013-03-28 17:53:14 -04:00
parent 9e5cde7f66
commit a8f5695666
6 changed files with 28 additions and 7 deletions

View File

@@ -0,0 +1,23 @@
<?php
/**
*
* @package migration
* @copyright (c) 2013 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2
*
*/
class phpbb_db_migration_data_310_boardindex extends phpbb_db_migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-dev', '>=');
}
public function update_data()
{
return array(
array('config.add', array('board_index_text', '')),
);
}
}

View File

@@ -108,8 +108,6 @@ class phpbb_db_migration_data_310_dev extends phpbb_db_migration
array('config.add', array('site_home_url', '')),
array('config.add', array('site_home_text', '')),
array('config.add', array('board_home_text', '')),
array('permission.add', array('u_chgprofileinfo', true, 'u_sig')),
array('module.add', array(