for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
* User Notification Control [UNC]. An extension for the phpBB Forum Software package.
* @copyright (c) 2020-2021, Dark❶, https://dark1.tech
* @license GNU General Public License, version 2 (GPL-2.0)
*/
namespace dark1\usernotificationcontrol\migrations;
use phpbb\db\migration\migration;
class unc_002 extends migration
{
static public function depends_on()
return ['\dark1\usernotificationcontrol\migrations\unc_001_install'];
}
public function update_data()
return [
// Remove Config if Exist
['if', [
isset($this->config['dark1_unc']),
['config.remove', ['dark1_unc']],
]],
];