Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #36 from MahjongPantheon/update-enroll-method-name
Browse files Browse the repository at this point in the history
Update method name after mimir fixes
  • Loading branch information
Oleg Klimenko authored May 14, 2017
2 parents 00087c9 + 4d46b80 commit c733f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controllers/PlayerEnrollment.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function _enrollUserForEvent($userId)
{
$errorMsg = '';
try {
$success = $this->_api->execute('enrollPlayer', [$userId, TOURNAMENT_ID]);
$success = $this->_api->execute('enrollPlayerCP', [$userId, TOURNAMENT_ID]);
if (!$success) {
$errorMsg = 'Не удалось добавить игрока в списки - проблемы с сетью?';
}
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/PlayerRegistration.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected function _reenrollUserForEvent($userId)
{
$errorMsg = '';
try {
$success = $this->_api->execute('enrollPlayer', [$userId, TOURNAMENT_ID]);
$success = $this->_api->execute('enrollPlayerCP', [$userId, TOURNAMENT_ID]);
if (!$success) {
$errorMsg = 'Не удалось добавить игрока в списки - проблемы с сетью?';
}
Expand Down

0 comments on commit c733f4d

Please sign in to comment.