From 6706537cf2566821a0d8d5af93813721b458c97c Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 Nov 2010 09:37:47 +0000 Subject: [PATCH] Updated posixAccount -Do not overwrite shadowLastChange everytime we save the posix tab. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20284 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/posix/class_posixAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index 79b67bb13..bf082a736 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -762,7 +762,7 @@ class posixAccount extends plugin if ($this->mustchangepassword){ $this->shadowLastChange= (int)(date("U") / 86400) - $this->shadowMax - 1; } else { - $this->shadowLastChange= (int)(date("U") / 86400); + #$this->shadowLastChange= (int)(date("U") / 86400); } if (!$this->activate_shadowWarning){ $this->shadowWarning= "0"; -- 2.30.2