Code

Updated posixAccount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Nov 2010 09:38:06 +0000 (09:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Nov 2010 09:38:06 +0000 (09:38 +0000)
-Do not overwrite shadowLastChange everytime we save the posix tab.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20285 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/posix/class_posixAccount.inc

index 6df03a5641c877d41a0b9c3db4e7fe25a0ef8485..9e4adc8b53d128a9db020cf053304a2b16110eeb 100644 (file)
@@ -620,7 +620,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";