die; } switch ($action) { //One filter is going to be modified case 'modify_filter': $response = modify_filter($conn, $filters, $data); break; //The group's assets are going to be recalculated. //The group's assets are going to be recalculated. case 'reload_group': $response = reload_asset_group_assets($conn, $filters, $data); break; //The filters are going to be restarted. //The filters are going to be restarted. case 'restart_search': $response = restart_search($conn, $data); break; //Cancel extra filter selection --> Restore Object //Cancel extra filter selection --> Restore Object case 'cancel_filter': $response = cancel_filter_list(); break; default: $response['error'] = TRUE; $response['msg'] = _('Wrong Option Chosen'); } } } //Returning the response to the AJAX call. echo json_encode($response); $db->close();
exit; } if (isset($_GET["mailboxes-ou-lang"])) { mailboxes_scan_ou(); exit; } if (isset($_GET["relinkto"])) { relinkto(); exit; } if (isset($_GET["restart-dagent"])) { restart_dagent(); exit; } if (isset($_GET["restart-search"])) { restart_search(); exit; } if (isset($_GET["restart-server"])) { restart_zarafaserver(); exit; } if (isset($_GET["restart-gateway"])) { restart_zarafagateway(); exit; } if (isset($_GET["run-backup"])) { run_backup(); exit; } if (isset($_GET["backup-scan-dirs"])) {
$response = modify_filter($conn, $filters, $data); break; //The group's assets are going to be recalculated. //The group's assets are going to be recalculated. case 'reload_group': $response = reload_asset_group_assets($conn, $filters, $data); break; //The filters are going to be saved in db //The filters are going to be saved in db case 'save_filter': $response = save_filter($conn, $filters, $data); break; //The filters are going to be restarted. //The filters are going to be restarted. case 'restart_search': $response = restart_search($conn); break; //Cancel extra filter selection --> Restore Object //Cancel extra filter selection --> Restore Object case 'cancel_filter': $response = cancel_filter_list(); break; default: $response['error'] = TRUE; $response['msg'] = _('Wrong Option Chosen'); } } } //Returning the response to the AJAX call. echo json_encode($response); $db->close();