From 466d3f7ae5141c742e7fe2e574b4dd5d518b6025 Mon Sep 17 00:00:00 2001 From: ninadsp Date: Wed, 30 Jun 2010 21:00:45 +0530 Subject: [PATCH] Discarded the unused PMA_ajaxOutputBuffelHandler() function. --- libraries/common.lib.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index e12df7cd18..223d732346 100755 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1022,7 +1022,7 @@ if (!$jsonly) function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view = false) { if( $GLOBALS['is_ajax_request'] == true) { - ob_start("PMA_ajaxOutputBufferHandler"); + ob_start(); } global $cfg; @@ -2909,10 +2909,4 @@ function PMA_ajaxResponse($message, $success = true, $extra_data = array()) echo json_encode($response); exit; } - -function PMA_ajaxOutputBufferHandler($output_buffer) { - $response = array(); - $response['message'] = $output_buffer; - return json_encode($response); -} ?> \ No newline at end of file