1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 16:10:38 +01:00

[ticket/15372] Migration for adding f_list_topic permission

This commit is contained in:
David Colón 2017-09-24 21:32:53 -04:00
parent dc5267728b
commit e55480385b

View File

@ -0,0 +1,38 @@
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\db\migration\data\v32x;
class f_list_topics_permission_add extends \phpbb\db\migration\migration
{
static public function depends_on()
{
return array(
'\phpbb\db\migration\data\v32x\v321',
);
}
public function update_data()
{
return array(
array('permission.add', array('f_list_topics', false)),
);
}
public function revert_data()
{
return array(
array('permission.remove', array('f_list_topics', false)),
);
}
}