mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -81,7 +81,7 @@ function build($syncMe = null)
|
|||||||
else
|
else
|
||||||
CLISetup::log('finished file generation with errors', CLISetup::LOG_ERROR);
|
CLISetup::log('finished file generation with errors', CLISetup::LOG_ERROR);
|
||||||
}
|
}
|
||||||
else
|
else if ($syncMe)
|
||||||
CLISetup::log('no valid script names supplied', CLISetup::LOG_ERROR);
|
CLISetup::log('no valid script names supplied', CLISetup::LOG_ERROR);
|
||||||
|
|
||||||
return $done;
|
return $done;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function sql($syncMe = null)
|
|||||||
else
|
else
|
||||||
CLISetup::log('finished sql generation with errors', CLISetup::LOG_ERROR);
|
CLISetup::log('finished sql generation with errors', CLISetup::LOG_ERROR);
|
||||||
}
|
}
|
||||||
else
|
else if ($syncMe)
|
||||||
CLISetup::log('no valid script names supplied', CLISetup::LOG_ERROR);
|
CLISetup::log('no valid script names supplied', CLISetup::LOG_ERROR);
|
||||||
|
|
||||||
return $done;
|
return $done;
|
||||||
|
|||||||
@@ -161,4 +161,4 @@ CREATE TABLE IF NOT EXISTS `aowow_spell_sounds` (
|
|||||||
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
|
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
|
||||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
|
|
||||||
UPDATE aowow_dbversion SET `build` = CONCAT(IFNULL(`build`, ''), ' sounds'), `sql` = CONCAT(IFNULL(`sql`, ''), ' spell creature sounds spawns');
|
UPDATE aowow_dbversion SET `build` = CONCAT(IFNULL(`build`, ''), ' soundfiles'), `sql` = CONCAT(IFNULL(`sql`, ''), ' spell creature sounds spawns');
|
||||||
|
|||||||
Reference in New Issue
Block a user