mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:55:18 +00:00
cleanup
This commit is contained in:
parent
b6d635d89d
commit
67936ba61e
2 changed files with 1 additions and 4 deletions
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
|
@ -8,7 +8,7 @@
|
||||||
"port": 9003,
|
"port": 9003,
|
||||||
"log": false,
|
"log": false,
|
||||||
"pathMappings": {
|
"pathMappings": {
|
||||||
"/app/": "${workspaceFolder}/",
|
"/app/": "${workspaceFolder}/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -75,13 +75,10 @@ class Defperms extends Controller
|
||||||
goaway(z_root() . '/connections');
|
goaway(z_root() . '/connections');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (intval($orig_record[0]['abook_self'])) {
|
if (intval($orig_record[0]['abook_self'])) {
|
||||||
$autoperms = intval($_POST['autoperms']);
|
$autoperms = intval($_POST['autoperms']);
|
||||||
$is_self = true;
|
|
||||||
} else {
|
} else {
|
||||||
$autoperms = null;
|
$autoperms = null;
|
||||||
$is_self = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$all_perms = Permissions::Perms();
|
$all_perms = Permissions::Perms();
|
||||||
|
|
Loading…
Reference in a new issue