Changeset 17974 for extensions/UserAdvManager/trunk
- Timestamp:
- Sep 17, 2012, 9:54:26 PM (12 years ago)
- Location:
- extensions/UserAdvManager/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/changelog.txt.php
r17887 r17974 340 340 Update it_IT, thanks to : Ericnet and virgigiole 341 341 342 -- 2.41.0 : Bug 2744 fixed - User connexion rejection does not work if no group/status/privacy is set 342 -- 2.41.0 : Bug 2744 fixed - User connexion rejection does not work if no group/status/privacy is set 343 New unvalidated user controls more efficient 344 New simplifed administration panel 343 345 */ 344 346 ?> -
extensions/UserAdvManager/trunk/include/functions.inc.php
r17972 r17974 2378 2378 WHERE u.'.$conf['user_fields']['id'].' >= 3 2379 2379 AND (TO_DAYS(NOW()) - TO_DAYS(ui.registration_date) >= "'.$conf_UAM_ConfirmMail[1].'" 2380 OR TO_DAYS(NOW()) - TO_DAYS(ui.registration_date) < "'.$conf_UAM_ConfirmMail[1].'")'; 2381 2382 if ($conf_UAM[2] <> '-1' and $conf_UAM[7] == '-1') 2383 { 2384 $query.= ' 2385 AND ug.group_id = '.$conf_UAM[2]; 2386 } 2387 if ($conf_UAM[2] == '-1' and $conf_UAM[7] <> '-1') 2388 { 2389 $query.= ' 2390 AND ui.status = \''.$conf_UAM[7]."'"; 2391 } 2392 if ($conf_UAM[2] <> '-1' and $conf_UAM[7] <> '-1') 2393 { 2394 $query.= ' 2395 AND ug.group_id = '.$conf_UAM[2]; 2396 } 2397 2398 $query.= ' 2380 OR TO_DAYS(NOW()) - TO_DAYS(ui.registration_date) < "'.$conf_UAM_ConfirmMail[1].'") 2381 AND u.UAM_validated = "false" 2399 2382 ORDER BY ui.registration_date ASC 2400 2383 ;';
Note: See TracChangeset
for help on using the changeset viewer.