1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 23:57:29 +02:00

Code style: Indent long statements

This commit is contained in:
Jakub Vrana
2025-03-05 14:51:17 +01:00
parent af68e30742
commit a7f097e78c
11 changed files with 67 additions and 44 deletions

View File

@@ -575,10 +575,11 @@ if (isset($_GET["sqlite"])) {
}
}
foreach (array_reverse($alter) as $val) {
if (!queries($val[2] == "DROP"
if (
!queries($val[2] == "DROP"
? "DROP INDEX " . idf_escape($val[1])
: index_sql($table, $val[0], $val[1], "(" . implode(", ", $val[2]) . ")")
)) {
: index_sql($table, $val[0], $val[1], "(" . implode(", ", $val[2]) . ")"))
) {
return false;
}
}