From f2c12e02c75f018e8c366c911330779bbdc94a56 Mon Sep 17 00:00:00 2001 From: "m.fu" Date: Tue, 3 Nov 2009 23:24:42 +0000 Subject: *** empty log message *** --- HTPasswdSync.module | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/HTPasswdSync.module b/HTPasswdSync.module index ae27095..ddfe98f 100644 --- a/HTPasswdSync.module +++ b/HTPasswdSync.module @@ -2,6 +2,9 @@ // $Id$ /* * $Log$ + * Revision 1.1.2.8 2009/11/03 23:24:42 mfu + * *** empty log message *** + * * Revision 1.1.2.7 2009/11/03 23:08:53 mfu * Fixed #588208 by ikogan : fixed the colon detection * Fixed #611020 by fasdalf@fasdalf.ru : group file not updated when adding user @@ -198,7 +201,6 @@ * @return */ function _htpasswdsync_updategroup() { - firep("called _htpasswdsync_updategroup"); $file = _htpasswdsync_grpfilename(); $groups = array(); @@ -211,8 +213,6 @@ // get role name $res = db_fetch_object(db_query('SELECT name FROM {role} WHERE rid = %d', $rid)); $name = $res->name; - firep($rid, "rid"); - firep($res->name, "$res->name"); //empty group $groups[$name] = ""; @@ -221,13 +221,10 @@ $res = db_query('SELECT name FROM {users} u, {users_roles} ur WHERE ur.rid = %d AND ur.uid = u.uid AND status = 1', $rid); while ($r = db_fetch_object($res)) { $groups[$name] .= " ". $r->name; - firep($r->name, "$r->name"); - firep($groups, "$groups"); } } _htpasswdsync_write_htfile($groups, $file); - firep("end _htpasswdsync_updategroup"); } /* generate the htpasswd content from the database @@ -238,7 +235,6 @@ * @return */ function _htpasswdsync_updatepasswd() { - firep("called _htpasswdsync_updatepasswd"); $file = _htpasswdsync_passfilename(); $passwords = array(); @@ -257,7 +253,6 @@ } } _htpasswdsync_write_htfile($passwords, $file); - firep("end _htpasswdsync_updatepasswd"); } -- cgit v1.2.3