Fixed a localtime bug.

This commit is contained in:
JT Smith 2003-06-01 20:32:04 +00:00
parent 016de5abae
commit 4e800d5178
5 changed files with 9 additions and 8 deletions

View file

@ -30,7 +30,7 @@ sub _alias {
#-------------------------------------------------------------------
sub process {
my (@date, $userId, $u, $uri, $port, %args, $fieldName, $ldap, $search, $a, $b);
@date = WebGUI::DateTime::localtime();
@date = WebGUI::DateTime::localtime(WebGUI::DateTime::time());
if ($date[3] == $session{config}{SyncProfilesToLDAP_hour}) {
$a = WebGUI::SQL->read("select userId from users where authMethod='LDAP'");
while (($userId) = $a->array) {