示例#1
0
 /**
  * Регистрация. Выслать SMS еще раз.
  * 
  * @param  array $aParams массив входящих данных
  * @return array $aResult ответ
  */
 protected function x____users_signup_sms_resend($aParams = array())
 {
     $this->_validDevice($aParams);
     require_once ABS_PATH . '/classes/registration.php';
     $registration = new registration();
     if (!$registration->actionResendSmsMobile($aParams)) {
         $this->_setLoginError($registration);
         $this->_setPhoneError($registration);
         if (!empty($registration->error['actionSendSms'])) {
             $this->error(EXTERNAL_ERR_SEND_SMS);
         }
     }
     return array();
 }