diff options
author | m.fu <m_fu@310415.no-reply.drupal.org> | 2009-11-03 23:24:42 +0000 |
---|---|---|
committer | m.fu <m_fu@310415.no-reply.drupal.org> | 2009-11-03 23:24:42 +0000 |
commit | f2c12e02c75f018e8c366c911330779bbdc94a56 (patch) | |
tree | 5d0842f410ff32aa9d5bc0b8417e7e96660a88c9 | |
parent | b23559224cef22053cfc3b63a65bfeb1296a8eb7 (diff) | |
download | drupal_htpasswdsync-f2c12e02c75f018e8c366c911330779bbdc94a56.tar.gz drupal_htpasswdsync-f2c12e02c75f018e8c366c911330779bbdc94a56.tar.bz2 drupal_htpasswdsync-f2c12e02c75f018e8c366c911330779bbdc94a56.zip |
*** empty log message ***
-rw-r--r-- | HTPasswdSync.module | 11 |
1 files 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"); } |