From: hickert Date: Thu, 9 Jun 2005 11:10:56 +0000 (+0000) Subject: Samba tab wont decrement anymore, ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=511c6321fe9be8f25398d05c11fa8ef32e48f660;p=gosa.git Samba tab wont decrement anymore, ... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@625 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc index a8f579f58..b8ac7c5c0 100644 --- a/plugins/personal/samba/class_sambaAccount.inc +++ b/plugins/personal/samba/class_sambaAccount.inc @@ -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