X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FPeriod.class.php;h=c14f17d531f90c4754fdd13d972afd83a5ff41bf;hb=60d2288b7fca6caf0f5d9d3eee972f040eb24fb0;hp=1880cf15ae8eb3b7e0366384d9a906a521d6654e;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git diff --git a/WEB-INF/lib/Period.class.php b/WEB-INF/lib/Period.class.php index 1880cf15..c14f17d5 100644 --- a/WEB-INF/lib/Period.class.php +++ b/WEB-INF/lib/Period.class.php @@ -38,7 +38,7 @@ class Period { var $mBeginDate; var $mEndDate; - function Period($period_name=0, $date_point=null) { + function __construct($period_name=0, $date_point=null) { global $user; if (!$date_point || !($date_point instanceof DateAndTime)) { @@ -145,4 +145,3 @@ class Period { return $result; } } -?> \ No newline at end of file