Permalink
Browse files

Improve whitespace

  • Loading branch information...
1 parent 8e4882b commit 1088cc5dca55124eac750b7d62399cb8f7385080 @vrana committed Feb 21, 2014
Showing with 4 additions and 5 deletions.
  1. +4 −5 adminer/dump.inc.php
@@ -14,15 +14,14 @@
$is_sql = preg_match('~sql~', $_POST["format"]);
if ($is_sql) {
- echo "-- Adminer $VERSION " . $drivers[DRIVER] . " dump
-
-" . ($jush != "sql" ? "" : "SET NAMES utf8;
+ echo "-- Adminer $VERSION " . $drivers[DRIVER] . " dump\n\n";
+ if ($jush == "sql") {
+ echo "SET NAMES utf8;
SET time_zone = '+00:00';
" . ($_POST["data_style"] ? "SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
" : "") . "
-");
- if ($jush == "sql") {
+";
$connection->query("SET time_zone = '+00:00';");
}
}

0 comments on commit 1088cc5

Please sign in to comment.