Code

Updated posixAccount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Nov 2010 09:37:47 +0000 (09:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Nov 2010 09:37:47 +0000 (09:37 +0000)
-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

index 79b67bb1331cdb4da319d8f2f533c3f0fbac4cc6..bf082a736177fb0eff4e73b9c800881b7d05ef06 100644 (file)
@@ -762,7 +762,7 @@ class posixAccount extends plugin
     if ($this->mustchangepassword){
       $this->shadowLastChange= (int)(date("U") / 86400) - $this->shadowMax - 1;
     } else {
     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";
     }
     if (!$this->activate_shadowWarning){
       $this->shadowWarning= "0";