Browse Source

php: remove trailing whitespaces

Andrew Dolgov 1 year ago
parent
commit
d93b5f1775
2 changed files with 4 additions and 4 deletions
  1. 1 1
      include/errors.php
  2. 3 3
      update.php

+ 1 - 1
include/errors.php

@@ -24,7 +24,7 @@
 
 	$ERRORS[9] = __("Configuration check failed");
 
-	$ERRORS[10] = __("Your version of MySQL is not currently supported. Please see 
+	$ERRORS[10] = __("Your version of MySQL is not currently supported. Please see
 		official site for more information.");
 
 	$ERRORS[11] = "[This error is not returned by server]";

+ 3 - 3
update.php

@@ -130,20 +130,20 @@ function confirmOP() {
 		foreach (array_keys($update_versions) as $v) {
 			if ($v == $version + 1) {
 				print "<p>".T_sprintf("Updating to version %d...", $v)."</p>";
-			
+
 				$lines = explode(";\n", file_get_contents($update_versions[$v]));
 
 				$dbh->beginTransaction();
 
 				if (count($lines) > 0) {
-					foreach ($lines as $line) {				
+					foreach ($lines as $line) {
 						$query = trim($line);
 						if ($query != "") {
 							print "<p class='query'>$query</p>";
 
 							if (!$dbh->query($query)) {
 								print "<p class='warning'>Query failed!</p>";
-								break;								
+								break;
 							}
 						}
 					}