diff --git a/webapp/services/CircuitRankingService.php b/webapp/services/CircuitRankingService.php index 06a57059..3ccbe572 100644 --- a/webapp/services/CircuitRankingService.php +++ b/webapp/services/CircuitRankingService.php @@ -185,16 +185,16 @@ class CircuitRankingService extends BaseService { return; } $androids = SqlHelper::ormSelect - ($this->_getMysql(''), - 't_circuit_battle_phase', - array( - 'season' => $currentStageMeta['circuit_season'], - 'phase' => $currentStageMeta['circuit_phase'], - 'is_android' => 1, - ) - ); + (myself()->_getMysql(''), + 't_circuit_battle_phase', + array( + 'season' => $currentStageMeta['circuit_season'], + 'phase' => $currentStageMeta['circuit_phase'], + 'is_android' => 1, + ) + ); $rows = SqlHelper::ormSelect - ($this->_getMysql(''), + (myself()->_getMysql(''), 't_circuit_battle_phase', array( 'season' => $currentStageMeta['circuit_season'], @@ -240,6 +240,7 @@ class CircuitRankingService extends BaseService { self::updateAndroid($curAndroid, $allocScore, $currentStageMeta); $lastScore = $currScore; } + myself()->_rspOk(); } private static function updateAndroidScore($android, $newScore, $currentStageMeta)