X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=include%2Fload_prefs.php;h=9ea748fc790f40727a9ace06d65f2b593187ea40;hb=d671df04e4c7b9667dfd43b2236b8ffcffb5f6d7;hp=ba652bad9021235b1e680eb881a98fc5244ffa5b;hpb=a3e8f2fe5d2350a6a8ab4543b5e9020ae7309125;p=squirrelmail.git 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)); }