Discarded the unused PMA_ajaxOutputBuffelHandler() function.

This commit is contained in:
ninadsp 2010-06-30 21:00:45 +05:30
parent dac68adc52
commit 466d3f7ae5

View File

@ -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);
}
?>