From: hickert Date: Fri, 19 Nov 2010 09:37:47 +0000 (+0000) Subject: Updated posixAccount X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6706537cf2566821a0d8d5af93813721b458c97c;p=gosa.git 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 --- 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";