]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttAdmin.class.php
Moving away from using the timestamp field.
[timetracker.git] / WEB-INF / lib / ttAdmin.class.php
index 9e29eeebfd1184850770b0bdc1fe92bb65084ed7..87fe00bcadd014278b594a4f732c2d9856aea8c7 100644 (file)
@@ -183,8 +183,8 @@ class ttAdmin {
     return true;
   }
 
-  // validateTeamInfo validates team information entered by user.
-  function validateTeamInfo($fields) {
+  // validateGroupInfo validates group information entered by user.
+  function validateGroupInfo($fields) {
     global $i18n;
     global $auth;
 
@@ -233,9 +233,9 @@ class ttAdmin {
     return $result;
   }
 
-  // updateTeam validates user input and updates the team with new information.
-  function updateTeam($team_id, $fields) {
-    if (!$this->validateTeamInfo($fields)) return false; // Can't continue as user input is invalid.
+  // updateGroup validates user input and updates the group with new information.
+  function updateGroup($team_id, $fields) {
+    if (!$this->validateGroupInfo($fields)) return false; // Can't continue as user input is invalid.
 
     global $user;
     $mdb2 = getConnection();
@@ -263,4 +263,9 @@ class ttAdmin {
 
     return true;
   }
+
+  // updateSelf validates user input and updates admin account with new information.
+  function updateSelf($fields) {
+    return false; // Not yet implemeneted.
+  }
 }