color has been dropped as a parameter from (plain_)error_message,
[squirrelmail.git] / include / options / personal.php
index 9e390baa292d15657a2e4dc8b652b24292ea9ef9..6c3a06ba47a490f8368967af6e2b796d36e5cdf8 100644 (file)
@@ -36,7 +36,7 @@ define('SMOPT_GRP_TZ', 3);
 function load_optpage_data_personal() {
     global $data_dir, $username, $edit_identity, $edit_name,
            $full_name, $reply_to, $email_address, $signature, $tzChangeAllowed,
-           $color, $timeZone, $domain;
+           $timeZone, $domain;
 
     /* Set the values of some global variables. */
     $full_name = getPref($data_dir, $username, 'full_name');
@@ -179,7 +179,7 @@ function load_optpage_data_personal() {
 
         // TODO: make error user friendly
         if (isset($message)) {
-            plain_error_message($message, $color);
+            plain_error_message($message);
             exit;
         }