Fix the last deprecation notices on class names for PHP 7+ (#26)
[timetracker.git] / WEB-INF / lib / ttUser.class.php
index 3f26962..6b6a44a 100644 (file)
@@ -54,7 +54,7 @@ class ttUser {
   var $rights = 0;              // A mask of user rights.
 
   // Constructor.
-  function ttUser($login, $id = null) {
+  function __construct($login, $id = null) {
     if (!$login && !$id) {
       // nothing to initialize
       return;