tryfix needsRefresh unit tests
Forced updateAttributesInterval from getAppValue to int Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
039f6c9636
commit
45dfc11137
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class User {
|
|||
$lastChecked = $this->config->getUserValue($this->uid, 'user_ldap',
|
||||
self::USER_PREFKEY_LASTREFRESH, 0);
|
||||
|
||||
if((time() - intval($lastChecked)) < $this->config->getAppValue('user_ldap', 'updateAttributesInterval', 86400) ) {
|
||||
if((time() - intval($lastChecked)) < intval($this->config->getAppValue('user_ldap', 'updateAttributesInterval', 86400)) ) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue