X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttUser.class.php;h=815eff7c703029dd91657aba72661edcbe1c3766;hb=7706d5a5ca4aa6f4f093beadbf688d2cccaa4bef;hp=37907c4d4ffc96aa8a7e8b73f7b2d2b86b853d0b;hpb=a95323ce1ae75fe97d5976b7d177f59dd278207b;p=timetracker.git diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index 37907c4d..815eff7c 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -52,7 +52,6 @@ class ttUser { var $uncompleted_indicators = 0; // Uncompleted time entry indicators (show nowhere or on users page). var $bcc_email = null; // Bcc email. var $currency = null; // Currency. - var $roles = 1; // Whether we use configurable roles. var $plugins = null; // Comma-separated list of enabled plugins. var $config = null; // Comma-separated list of miscellaneous config options. var $team = null; // Team name. @@ -117,7 +116,6 @@ class ttUser { $config_array = explode(',', $this->config); // Set user config options. - $this->roles = in_array('roles', $config_array); $this->show_holidays = in_array('show_holidays', $config_array); $this->punch_mode = in_array('punch_mode', $config_array); $this->allow_overlap = in_array('allow_overlap', $config_array);