Code

Samba tab wont decrement anymore, ...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Jun 2005 11:10:56 +0000 (11:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Jun 2005 11:10:56 +0000 (11:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@625 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/samba/class_sambaAccount.inc

index a8f579f58a9d699024b017e81b74a703ea93fada..b8ac7c5c0aec083dbce6ed2f335994074592a1bb 100644 (file)
@@ -406,7 +406,8 @@ class sambaAccount extends plugin
     $sambaKickoffTime_months= array(_("January"), _("February"), _("March"), _("April"),
         _("May"), _("June"), _("July"), _("August"), _("September"),
         _("October"), _("November"), _("December"));
-    $smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]-1);
+    //$smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]-1);
+    $smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]); // hickert
     $smarty->assign("sambaKickoffTime_days", $sambaKickoffTime_days);
     $smarty->assign("sambaKickoffTime_months", $sambaKickoffTime_months);
     $smarty->assign("sambaKickoffTime_month", $sambaKickoffTime_date["mon"]-1);
@@ -890,7 +891,8 @@ class sambaAccount extends plugin
       }
       if ($this->kickoff_time_set == "1"){
         # Add one day in unixtime format to be compatible with usrmgr
-        $this->attrs['sambaKickoffTime']= $this->sambaKickoffTime + 86400;
+        //$this->attrs['sambaKickoffTime']= $this->sambaKickoffTime + 86400; 
+        $this->attrs['sambaKickoffTime']= $this->sambaKickoffTime; //hickert 
       } else {
         # $this->attrs['sambaKickoffTime']= array();
         # Set more useful default setting