Make key check method names consistent [PREMIUM-4]

This commit is contained in:
Alexey Stoletniy
2017-05-08 13:16:05 +03:00
parent f2bf61240a
commit 90b2b46db4
4 changed files with 17 additions and 17 deletions

View File

@ -19,7 +19,7 @@ class Services extends APIEndpoint {
$this->date_time = new DateTime();
}
function verifyMailPoetKey($data = array()) {
function checkMSSKey($data = array()) {
$key = isset($data['key']) ? trim($data['key']) : null;
if(!$key) {
@ -69,7 +69,7 @@ class Services extends APIEndpoint {
return $this->errorResponse(array(APIError::BAD_REQUEST => $error));
}
function verifyPremiumKey($data = array()) {
function checkPremiumKey($data = array()) {
$key = isset($data['key']) ? trim($data['key']) : null;
if(!$key) {