Fixed a localtime bug.
This commit is contained in:
parent
016de5abae
commit
4e800d5178
5 changed files with 9 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue