]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttUser.class.php
Started to work on timesheet approval workflow.
[timetracker.git] / WEB-INF / lib / ttUser.class.php
index 5309dd8ad255a5b328650d887955520e115be5be..28eeebcfd6a04366be31fc25a28c9d8ef629405e 100644 (file)
@@ -592,7 +592,7 @@ class ttUser {
         return false;
 
       // So far, so good. Check user now.
-      $options = array('group_id'=>$group_id,'status'=>ACTIVE,'max_rank'=>MAX_RANK);
+      $options = array('status'=>ACTIVE,'max_rank'=>MAX_RANK);
       $users = $this->getUsers($options);
       foreach($users as $one_user) {
         if ($one_user['id'] == $this->behalf_id)
@@ -886,9 +886,4 @@ class ttUser {
 
     return false;
   }
-
-  // getTimesheets obtains timesheets for user.
-  function getTimesheets() {
-    return null; // Not implemented.
-  }
 }