mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
remove debug lines in permissions (#2658)
because application defaults is now captured for output these debug lines show up when used. This removes them
This commit is contained in:
@@ -50,13 +50,11 @@ if (!class_exists('permissions')) {
|
||||
if ($this->exists($permission)) {
|
||||
if ($type === "temp") {
|
||||
if ($_SESSION["permissions"][$permission] === "temp") {
|
||||
echo "delete ".__line__." $type\n";
|
||||
unset($_SESSION["permissions"][$permission]);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if ($_SESSION["permissions"][$permission] !== "temp") {
|
||||
echo "delete ".__line__." $type\n";
|
||||
unset($_SESSION["permissions"][$permission]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user