From 48f65c6a7129073fb8c04abdfdaaee77dfd6709e Mon Sep 17 00:00:00 2001 From: Charles McNulty <cmcnulty@kznf.com> Date: Mon, 04 Nov 2013 14:01:55 -0500 Subject: [PATCH] tiny-focus column for determining where focus should be --- program/steps/mail/func.inc | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index b5a8de4..0019d79 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -260,8 +260,6 @@ array_unshift($a_show_cols, 'subject'); if (!in_array('threads', $a_show_cols)) array_unshift($a_show_cols, 'threads'); - if (!in_array('focus', $a_show_cols)) - array_unshift($a_show_cols, 'focus'); $_SESSION['skin_path'] = $CONFIG['skin_path']; @@ -311,9 +309,7 @@ array_unshift($a_show_cols, 'subject'); if (!in_array('threads', $a_show_cols)) array_unshift($a_show_cols, 'threads'); - if (!in_array('focus', $a_show_cols)) - array_unshift($a_show_cols, 'focus'); - + $_SESSION['list_attrib']['columns'] = $a_show_cols; // Make sure there are no duplicated columns (#1486999) @@ -339,7 +335,7 @@ if (empty($a_headers)) return; - // remove 'threads', 'attachment', 'flag', 'status' columns, we don't need them here + // remove 'threads', 'attachment', 'flag', 'status', 'focus' columns, we don't need them here foreach (array('threads', 'attachment', 'flag', 'status', 'priority', 'focus') as $col) { if (($key = array_search($col, $a_show_cols)) !== FALSE) unset($a_show_cols[$key]); -- Gitblit v1.9.1