[ticket/469] Add settings for displaying portal on all pages

B3P-469
This commit is contained in:
Marc Alexander
2015-02-12 22:20:54 +01:00
parent 7a63c9a3a8
commit e4861caed8
2 changed files with 33 additions and 0 deletions

28
migrations/v210_rc3.php Normal file
View File

@@ -0,0 +1,28 @@
<?php
/**
*
* @package Board3 Portal v2.1
* @copyright (c) 2015 Board3 Group ( www.board3.de )
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
namespace board3\portal\migrations;
class v210_rc3 extends \phpbb\db\migration\migration
{
static public function depends_on()
{
return array('\board3\portal\migrations\v210_rc2');
}
public function update_data()
{
return array(
array('config.update', array('board3_portal_version', '2.1.0-rc3')),
array('config.add', array('board3_show_all_pages', false)),
array('config.add', array('board3_show_all_left', false)),
array('config.add', array('board3_show_all_right', false)),
);
}
}