Removed unused function.
authorNik Okuntseff <support@anuko.com>
Thu, 22 Mar 2018 18:23:59 +0000 (18:23 +0000)
committerNik Okuntseff <support@anuko.com>
Thu, 22 Mar 2018 18:23:59 +0000 (18:23 +0000)
WEB-INF/lib/ttAdmin.class.php
WEB-INF/templates/footer.tpl

index d6b9696..9e29eee 100644 (file)
@@ -263,28 +263,4 @@ class ttAdmin {
 
     return true;
   }
-
-  // setCreatedByAdmin sets created_by field for both group and its top manager to admin account.
-  function setCreatedByAdmin($team_id, $user_id) {
-    global $user;
-    $mdb2 = getConnection();
-
-    // Update created_by for group.
-    $sql = "update tt_teams set created_by = $user->id where id = $team_id";
-    $affected = $mdb2->exec($sql);
-    if (is_a($affected, 'PEAR_Error')) {
-      $this->err->add($i18n->getKey('error.db'));
-      return false;
-    }
-
-    // Update created_by for top manager.
-    $sql = "update tt_users set created_by = $user->id where id = $user_id";
-    $affected = $mdb2->exec($sql);
-    if (is_a($affected, 'PEAR_Error')) {
-      $this->err->add($i18n->getKey('error.db'));
-      return false;
-    }
-
-    return true;
-  }
 }
index f9d1e92..9427fe9 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.17.65.4133 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.17.65.4134 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>