From 8b03a430b8e1ce084cdbe9776bc0d8445a615871 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sun, 28 Jun 2009 21:54:09 -0400 Subject: [PATCH] remove unnecessary widget function --- classes/PluginWonderful.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/classes/PluginWonderful.php b/classes/PluginWonderful.php index 5998195..79cf1af 100644 --- a/classes/PluginWonderful.php +++ b/classes/PluginWonderful.php @@ -172,23 +172,6 @@ class PluginWonderful { } } - function handle_action_save_widgets() { - $new_boxes = array(); - if ($this->publisher_info !== false) { - foreach ($this->publisher_info->adboxes as $box) { - if (isset($_POST['pw']['center'][$box->adboxid])) { - $this->adboxes_client->set_widget_centering($box->adboxid, true); - $box->center_widget = "1"; - } else { - $this->adboxes_client->set_widget_centering($box->adboxid, false); - $box->center_widget = "0"; - } - $new_boxes[] = $box; - } - $this->publisher_info->adboxes = $new_boxes; - } - } - function handle_action_change_adbox_settings() { if ($member_id = get_option('plugin-wonderful-memberid')) { if (isset($_POST['template_tag_id']) && is_array($_POST['template_tag_id'])) {