mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update bridges.php
This commit is contained in:
@@ -31,6 +31,14 @@ if (!class_exists('bridges')) {
|
||||
public function delete($bridges) {
|
||||
if (permission_exists('bridge_delete')) {
|
||||
|
||||
//validate the token
|
||||
$token = new token;
|
||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||
message::add($text['message-invalid_token'],'negative');
|
||||
header('Location: bridges.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
//delete multiple bridges
|
||||
if (is_array($bridges)) {
|
||||
//get the action
|
||||
|
||||
Reference in New Issue
Block a user