Version 4.1.19
This commit is contained in:
1 parent
28bd025b35
commit
2bd5025018
2674 files changed
+233518
-77766
No files matched your search
@@ -2,10 +2,11 @@
|
||||
/**
|
||||
* @brief eNom Domain Registrar
|
||||
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) 2001 - SVN_YYYY Invision Power Services, Inc.
|
||||
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/legal/standards/
|
||||
* @package IPS Social Suite
|
||||
* @subpackage 08 Aug 2014
|
||||
* @package IPS Community Suite
|
||||
* @subpackage Nexus
|
||||
* @since 08 Aug 2014
|
||||
* @version SVN_VERSION_NUMBER
|
||||
*/
|
||||
|
||||
@@ -83,15 +84,15 @@ class _Enom
|
||||
/**
|
||||
* Register Domain
|
||||
*
|
||||
* @param string $sld SLD
|
||||
* @param string $tld TLD
|
||||
* @param array $nameservers Nameservers
|
||||
* @param \IPS\nexus\Customer $customer The customer
|
||||
* @param \IPS\GeoLocation $billingAddress Billing Address
|
||||
* @param string $sld SLD
|
||||
* @param string $tld TLD
|
||||
* @param array $nameservers Nameservers
|
||||
* @param \IPS\nexus\Customer $customer The customer
|
||||
* @param \IPS\GeoLocation|NULL $billingAddress Billing Address
|
||||
* @return bool
|
||||
* @throws \RuntimeException
|
||||
*/
|
||||
public function register( $sld, $tld, array $nameservers, \IPS\nexus\Customer $customer, \IPS\GeoLocation $billingAddress )
|
||||
public function register( $sld, $tld, array $nameservers, \IPS\nexus\Customer $customer, \IPS\GeoLocation $billingAddress = NULL )
|
||||
{
|
||||
$send = array(
|
||||
'command' => 'purchase',
|
||||
@@ -111,7 +112,7 @@ class _Enom
|
||||
$send['UseWireTransfer'] = 'Yes';
|
||||
$send['responsetype'] = 'xml';
|
||||
|
||||
$response = $this->url->request( 30 )->post( $send )->decodeXml();
|
||||
$response = $this->url->request( \IPS\LONG_REQUEST_TIMEOUT )->post( $send )->decodeXml();
|
||||
|
||||
if ( $response->errors )
|
||||
{
|
||||
@@ -132,7 +133,7 @@ class _Enom
|
||||
*/
|
||||
public function renew( $sld, $tld, $years )
|
||||
{
|
||||
$response = $this->url->request( 30 )->post( array(
|
||||
$response = $this->url->request( \IPS\LONG_REQUEST_TIMEOUT )->post( array(
|
||||
'command' => 'extend',
|
||||
'UID' => $this->username,
|
||||
'PW' => $this->password,
|
||||
|
||||
Reference in new issue
Block a user