mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-06-07 00:47:00 +03:00
Moved a few functions to misc, moved where permissions is included as it's needed everywhere.
This commit is contained in:
parent
6033bc12aa
commit
a57af479b8
4 changed files with 46 additions and 45 deletions
|
@ -111,16 +111,6 @@ function get_group_members($id) {
|
|||
return $ret;
|
||||
}
|
||||
|
||||
// move to misc?
|
||||
function get_user_id($user) {
|
||||
$info=get_user_info($user);
|
||||
if($info) {
|
||||
return $info['id'];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
function get_group_id($group) {
|
||||
$info=get_group_info($group);
|
||||
if($info) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue