diff options
author | Rouslan Placella <rouslan@placella.com> | 2011-06-20 14:40:23 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2011-06-20 14:40:23 +0400 |
commit | ae55e9b8f8ca0d7d3f65b7d9945a726738826ce1 (patch) | |
tree | 70a47bb2d514de0ca1f10b3e18e6c7a9e445d7a8 /db_routines.php | |
parent | 223832b68ddacceab0e29825f28eaa9d38815b1e (diff) |
Removed unnecessary AJAX messages from the routines functionalities.
Diffstat (limited to 'db_routines.php')
-rw-r--r-- | db_routines.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/db_routines.php b/db_routines.php index 28325f355d..409d4d991b 100644 --- a/db_routines.php +++ b/db_routines.php @@ -192,10 +192,8 @@ if (! empty($_REQUEST['execute_routine']) && ! empty($_REQUEST['routine_name'])) } // Print/send output if ($GLOBALS['is_ajax_request']) { - $extra_data = array(); - $extra_data['dialog'] = false; - $extra_data['results'] = $message->getDisplay() . $output; - PMA_ajaxResponse($message, $message->isSuccess(), $extra_data); + $extra_data = array('dialog' => false); + PMA_ajaxResponse($message->getDisplay() . $output, $message->isSuccess(), $extra_data); } else { echo $message->getDisplay() . $output; if ($message->isError()) { @@ -346,8 +344,7 @@ if (! empty($_REQUEST['execute_routine']) && ! empty($_REQUEST['routine_name'])) $routine = PMA_DBI_fetch_single_row("SELECT $columns FROM `INFORMATION_SCHEMA`.`ROUTINES` WHERE $where;"); $extra_data['name'] = htmlspecialchars(strtoupper($_REQUEST['routine_name'])); $extra_data['new_row'] = PMA_RTN_getRowForRoutinesList($routine, 0, true); - $extra_data['sql_query'] = $output; - $response = PMA_message::success(); + $response = $output; } else { $response = $message; } |