Fix mysql syntax for predb_import_daily_batch.php

This commit is contained in:
DariusIII
2019-01-18 14:29:26 +01:00
parent 52dd329c25
commit 0e95cf36c6
+2 -2
View File
@@ -136,8 +136,8 @@ foreach ($data as $dir => $files) {
// Make sure it's readable by all.
chmod($dumpFile, 0777);
$local = strtolower($argv[2]) === 'local' ? '' : 'remote';
$verbose = $argv[3] === true;
$local = strtolower($argv[2]) === 'local' ? 'LOCAL' : '';
$verbose = $argv[3] === 'true';
if ($verbose) {
$colorCli->info('Clearing import table');