r1396: We don't need to run build_assignedto() anymore because the API does that...
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 12 Feb 2007 04:56:57 +0000 (04:56 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 12 Feb 2007 04:56:57 +0000 (04:56 +0000)
docs/changes.txt
userctrl.php

index 017091014a396a09788510c883acaca665a35bc1..9d9e09fad70997f2bedcfcd5a518963953fdec68 100644 (file)
@@ -12,6 +12,7 @@
 - When there are no bugs to display on index.php, don't show an empty grid, but rather an error message
 - Reduce a query on bug updates by not querying the automation system if it is not being used
 - Move custom field data into the bug table to reduce the use of JOINs
+- Remove a query on userctrl.php's save options called by build_assignedto() because the API already does this for us
 
 1.1.5
 ===============================
index a22e19107134ba6828cf6d26b76daf148029102f..69ba66cbca6f4d835ca38807c4540a87b65eaae3 100644 (file)
@@ -178,12 +178,6 @@ if ($_POST['do'] == 'update')
        {
                $userapi->update();
                
-               if (can_perform('canbeassignedto'))
-               {
-                       require_once('./includes/functions_datastore.php');
-                       build_assignedto();
-               }
-               
                $db->query("DELETE FROM " . TABLE_PREFIX . "useremail WHERE userid = " . $bugsys->userinfo['userid']);
                $bugsys->input_clean('emailopts', TYPE_INT);
                if (is_array($bugsys->in['emailopts']))