Update bridges.php
This commit is contained in:
parent
74ccf2b836
commit
50f55f4b2b
|
|
@ -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'])) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue