From 8b6429be2efedf69c05d9e86908aa20c20ce5d17 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 30 Oct 2008 20:56:57 +0000 Subject: [PATCH] Adding note git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13315 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/load_prefs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/load_prefs.php b/include/load_prefs.php index ba652bad..9ea748fc 100644 --- a/include/load_prefs.php +++ b/include/load_prefs.php @@ -177,6 +177,7 @@ if( $ser = getPref($data_dir, $username, 'hililist') ) { $message_highlight_list[$i]['match_type'] = $highlight_array[3]; removePref($data_dir, $username, "highlight$i"); } +// NB: The fact that this preference is always set here means that some plugins rely on testing it to know if a user has logged in before - the "old way" above is probably long since obsolete and unneeded, but the setPref() below should not be removed /* store in new format for the next time */ setPref($data_dir, $username, 'hililist', serialize($message_highlight_list)); } -- 2.25.1