diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-13 00:35:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-13 00:35:28 +0000 |
commit | 8fe7e7c855554bbff999d4f48602a4743c1b18eb (patch) | |
tree | da4cc11c57bc317d01c12867af77e90c1c33cdcb /etc | |
parent | 269d60620b10f7557ae025aeefb409fa82577bab (diff) | |
download | pfsense-8fe7e7c855554bbff999d4f48602a4743c1b18eb.zip pfsense-8fe7e7c855554bbff999d4f48602a4743c1b18eb.tar.gz |
Add global debug where needed
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/auth.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 2d44b57..653c88e 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -245,7 +245,8 @@ function local_user_set(& $user) { }
function local_user_del($user) {
-
+ global $debug;
+
/* remove all memberships */
local_user_get_groups($user);
@@ -334,7 +335,8 @@ function local_user_set_groups($user, $new_groups = NULL ) { }
function local_group_set($group, $reset = false) {
-
+ global $debug;
+
$group_name = $group['name'];
$group_gid = $group['gid'];
$group_members = "''";
@@ -363,6 +365,7 @@ function local_group_set($group, $reset = false) { }
function local_group_del($group) {
+ global $debug;
/* delete from group db */
$cmd = "/usr/sbin/pw groupdel {$group['name']}";
@@ -870,4 +873,4 @@ function session_auth($backing) { return true;
}
-?>
+?>
\ No newline at end of file |