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