You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
413 B
PHP
17 lines
413 B
PHP
<?php
|
|
define('IN_SCRIPT',1);
|
|
define('HESK_PATH','../../../');
|
|
require(HESK_PATH . 'hesk_settings.inc.php');
|
|
require(HESK_PATH . 'inc/common.inc.php');
|
|
hesk_load_database_functions();
|
|
require('../sql/uninstallSql.php');
|
|
|
|
$task = $_POST['task'];
|
|
if ($task == 'status-change') {
|
|
replaceStatusColumn();
|
|
} elseif ($task == 'drop-columns') {
|
|
removeOtherColumns();
|
|
} else {
|
|
http_response_code(400);
|
|
}
|
|
return; |