Fixed (more) output buffering bugs in Special:EditSidebar
authorDan
Thu, 01 Oct 2009 09:07:21 -0400
changeset 1126 e2addf0bd2f4
parent 1125 367768040a61
child 1128 a5aaa7512155
Fixed (more) output buffering bugs in Special:EditSidebar
plugins/SpecialAdmin.php
--- a/plugins/SpecialAdmin.php	Wed Sep 30 20:01:23 2009 -0400
+++ b/plugins/SpecialAdmin.php	Thu Oct 01 09:07:21 2009 -0400
@@ -2579,7 +2579,6 @@
           $cache->purge('anon_sidebar');
           if(isset($_GET['ajax']))
           {
-            ob_end_clean();
             die('GOOD');
           }
           echo '<div class="error-box" style="margin: 10px 0;">' . $lang->get('sbedit_msg_block_deleted') . '</div>';
@@ -2604,7 +2603,6 @@
           }
           if(isset($_GET['ajax']))
           {
-            @ob_end_clean();
             die('GOOD');
           }
           break;
@@ -2619,7 +2617,6 @@
           }
           if(isset($_GET['ajax']))
           {
-            ob_end_clean();
             die('GOOD');
           }
           break;
@@ -2631,7 +2628,6 @@
             $template->footer();
             exit;
           }
-          ob_end_clean();
           $r = $db->fetchrow();
           $db->free_result();
           $cache->purge('anon_sidebar');