removing empty and unused save_option_header() function.
[squirrelmail.git] / include / options / compose.php
index e10fdcaec838115ed8c6a77aa6568ae415497dea..27b834e0511554c740a382e96574276960e5c7ea 100644 (file)
@@ -166,10 +166,24 @@ function load_optpage_data_compose() {
 
 /******************************************************************/
 /** Define any specialized save functions for this option page. ***/
+/**                                                             ***/
+/** You must add every function that is set in save parameter   ***/
 /******************************************************************/
 
-function save_option_header($option) {
-}
+/**
+ * This function saves the reply prefix (body_quote) character(s)
+ * @param object $option
+ */
+function save_option_reply_prefix($option) {
 
+    // save as "NONE" if it was blanked out
+    //
+    if (empty($option->new_value)) $option->new_value = 'NONE';
 
-?>
+
+    // Save the option like normal.
+    //
+    save_option($option);
+
+}
+?>
\ No newline at end of file