DatabaseConverter / improvement mapmanager
This commit is contained in:
parent
35b5e2ac47
commit
0c1e479711
@ -126,7 +126,10 @@ class MapManager implements CallbackListener {
|
||||
) VALUES (
|
||||
?, ?, ?, ?, ?, ?
|
||||
) ON DUPLICATE KEY UPDATE
|
||||
`index` = LAST_INSERT_ID(`index`);";
|
||||
`index` = LAST_INSERT_ID(`index`),
|
||||
`fileName` = LAST_INSERT_ID(`fileName`),
|
||||
`environment` = LAST_INSERT_ID(`environment`),
|
||||
`mapType` = LAST_INSERT_ID(`mapType`);";
|
||||
$mapStatement = $mysqli->prepare($mapQuery);
|
||||
if ($mysqli->error) {
|
||||
trigger_error($mysqli->error);
|
||||
|
@ -207,7 +207,7 @@ class StatisticCollector implements CallbackListener {
|
||||
*
|
||||
* @param array $callback
|
||||
*/
|
||||
public function handleCallbacks(array $callback) {
|
||||
public function handleCallbacks(array $callback) { //TODO survivals
|
||||
//Check if Stat Collecting is enabled
|
||||
if (!$this->maniaControl->settingManager->getSetting($this, self::SETTING_COLLECT_STATS_ENABLED)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user