1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-02 16:04:36 +02:00
Files
php-phpbb/phpBB/phpbb/db/migration/data/v310/namespaces.php
2013-10-06 10:38:11 +05:30

31 lines
644 B
PHP

<?php
/**
*
* @package migration
* @copyright (c) 2012 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2
*
*/
namespace phpbb\db\migration\data\v310;
class namespaces extends \phpbb\db\migration\migration
{
static public function depends_on()
{
return array(
'\phpbb\db\migration\data\v310\dev',
);
}
public function update_data()
{
return array(
array('if', array(
(preg_match('#^phpbb_search_#', $this->config['search_type'])),
array('config.update', array('search_type', str_replace('phpbb_search_', '\\phpbb\\search\\', $this->config['search_type']))),
)),
);
}
}