1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Move comments out of if statement

This commit is contained in:
Michal Čihař
2012-04-27 11:39:19 +02:00
parent b2aba621ba
commit 0e26eeb56a
5 changed files with 7 additions and 7 deletions

View File

@@ -348,11 +348,11 @@ if (isset($btnDrop) && $btnDrop == __('No')) {
*
* Also bypassed if only showing php code.or validating a SQL query
*/
// if we are coming from a "Create PHP code" or a "Without PHP Code"
// dialog, we won't execute the query anyway, so don't confirm
if (! $cfg['Confirm']
|| isset($_REQUEST['is_js_confirmed'])
|| isset($btnDrop)
// if we are coming from a "Create PHP code" or a "Without PHP Code"
// dialog, we won't execute the query anyway, so don't confirm
|| isset($GLOBALS['show_as_php'])
|| ! empty($GLOBALS['validatequery'])
) {