aboutsummaryrefslogtreecommitdiff
path: root/db/migrations/6.0.15_step_4110.php
blob: 25cdc53e06d302c54b0641f1fb58d2c08ef5964e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
return new class extends Migration
{

    public function description()
    {
        return 'StEP 4110: Remove SOAP/XMLRPC webservices';
    }

    protected function up()
    {
        $db = DBManager::get();
        $db->exec("DROP TABLE `webservice_access_rules`");
        $db->exec("DELETE FROM `config` WHERE `field` = 'WEBSERVICES_ENABLE'");
        $db->exec("DELETE FROM `config_values` WHERE `field` = 'WEBSERVICES_ENABLE'");
    }

    protected function down()
    {
    }
};