X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9a23a8c0a51b7ec38a96f525484134f3cb85dc7e..8c7da3eb00661f94b51b0390ee0d56b8dfeeaeb4:/WEB-INF/lib/Period.class.php 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