summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08458ee)
raw | patch | inline | side by side (parent: 08458ee)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Nov 2010 09:37:47 +0000 (09:37 +0000) | ||
committer | hickert <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
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 | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index 79b67bb1331cdb4da319d8f2f533c3f0fbac4cc6..bf082a736177fb0eff4e73b9c800881b7d05ef06 100644 (file)
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";