Update bridges.php

This commit is contained in:
FusionPBX 2019-09-19 08:59:00 -06:00 committed by GitHub
parent 74ccf2b836
commit 50f55f4b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ if (!class_exists('bridges')) {
public function delete($bridges) {
if (permission_exists('bridge_delete')) {
//add multi-lingual support
$language = new text;
$text = $language->get();
//validate the token
$token = new token;
if (!$token->validate($_SERVER['PHP_SELF'])) {