mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/10073] Use namespaces and fix all class names
PHPBB3-10073
This commit is contained in:
25
phpBB/phpbb/db/migration/data/v310/contact_admin_form.php
Normal file
25
phpBB/phpbb/db/migration/data/v310/contact_admin_form.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package migration
|
||||
* @copyright (c) 2014 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace phpbb\db\migration\data\v310;
|
||||
|
||||
class contact_admin_form extends \phpbb\db\migration\migration
|
||||
{
|
||||
public function effectively_installed()
|
||||
{
|
||||
return isset($this->config['contact_admin_form_enable']);
|
||||
}
|
||||
|
||||
public function update_data()
|
||||
{
|
||||
return array(
|
||||
array('config.add', array('contact_admin_form_enable', 1)),
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user