mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 12:18:43 +09:00
Getting rid of old payment gateways
This commit is contained in:
1 parent
5c7094971e
commit
a4681cd429
1 file changed
+7
-1
+7
-1
@@ -10,13 +10,19 @@
|
||||
* with this source code in the file LICENSE
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Unnamed new release
|
||||
* 4.22 betas
|
||||
*/
|
||||
class BBPatch_24 extends BBPatchAbstract
|
||||
{
|
||||
public function patch()
|
||||
{
|
||||
// Clearing leftovers from deleted payment adapters
|
||||
$q = "DELETE FROM `pay_gateway` WHERE `gateway` = 'AlertPay' OR `gateway` = 'WebToPay' OR `gateway` = 'Payza' OR `gateway` = 'SinglePay'";
|
||||
$this->execSql($q);
|
||||
|
||||
// Setting up the new custom pages extension
|
||||
$q = "CREATE TABLE IF NOT EXISTS `custom_pages` (`id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `description` varchar(555) NOT NULL, `keywords` varchar(555) NOT NULL, `content` text NOT NULL, `slug` varchar(255) NOT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=utf8";
|
||||
$this->execSql($q);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user