Code

Updated sambaAccount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Apr 2010 08:26:27 +0000 (08:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Apr 2010 08:26:27 +0000 (08:26 +0000)
-Accounts with a 'kick of' value set couldn't be copied.

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

gosa-plugins/samba/personal/samba/class_sambaAccount.inc

index 8b28a95f3035f56ad1dfcf3a4e750a8930190f41..2b7ba0a331b17b20fa06159c66684572598129a8 100644 (file)
@@ -1711,6 +1711,9 @@ class sambaAccount extends plugin
 
     /* Set a new SID */
     $this->sambaSID = "";
+    if(isset($source['sambaKickoffTime'][0])){
+        $this->sambaKickoffTime = date('d.m.Y', $source['sambaKickoffTime'][0]); 
+    }
   }
 
 }