Setup/Sounds

* updated sql update for changed generator
Setup/Updates
 * do not throw an invalid scripts supplied - error if no actual scripts where suppied
   (in case of update it is skipped, in every other case it generates everything anyway)
This commit is contained in:
Sarjuuk
2017-03-22 15:15:48 +01:00
parent efe7b468c9
commit a937fb7ac6
3 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ function build($syncMe = null)
else
CLISetup::log('finished file generation with errors', CLISetup::LOG_ERROR);
}
else
else if ($syncMe)
CLISetup::log('no valid script names supplied', CLISetup::LOG_ERROR);
return $done;

View File

@@ -47,7 +47,7 @@ function sql($syncMe = null)
else
CLISetup::log('finished sql generation with errors', CLISetup::LOG_ERROR);
}
else
else if ($syncMe)
CLISetup::log('no valid script names supplied', CLISetup::LOG_ERROR);
return $done;