From 67936ba61e2a9ae4f9e6101e6797901393984e07 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sun, 4 Sep 2022 13:01:34 +1000 Subject: [PATCH] cleanup --- .vscode/launch.json | 2 +- Code/Module/Defperms.php | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 96b917b83..3069b7be2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,7 +8,7 @@ "port": 9003, "log": false, "pathMappings": { - "/app/": "${workspaceFolder}/", + "/app/": "${workspaceFolder}/" } } ] diff --git a/Code/Module/Defperms.php b/Code/Module/Defperms.php index b7bc23a51..747b53b1e 100644 --- a/Code/Module/Defperms.php +++ b/Code/Module/Defperms.php @@ -75,13 +75,10 @@ class Defperms extends Controller goaway(z_root() . '/connections'); } - if (intval($orig_record[0]['abook_self'])) { $autoperms = intval($_POST['autoperms']); - $is_self = true; } else { $autoperms = null; - $is_self = false; } $all_perms = Permissions::Perms();