From 49da08219cf59b009c9c81ee8ac6cf51d5a44ed6 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 12 Feb 2007 04:56:57 +0000 Subject: [PATCH] r1396: We don't need to run build_assignedto() anymore because the API does that for us --- docs/changes.txt | 1 + userctrl.php | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 0170910..9d9e09f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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 =============================== diff --git a/userctrl.php b/userctrl.php index a22e191..69ba66c 100644 --- a/userctrl.php +++ b/userctrl.php @@ -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'])) -- 2.43.5