Skip to content

Commit e3d5b87

Browse files
committed
Renamed duplicate functions euridEppInfoDomainRequest and euridEppInfoDomainResponse to authEppInfoDomainRequest and authEppInfoDomainResponse
1 parent bc51615 commit e3d5b87

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Protocols/EPP/eppExtensions/authInfo-1.1/eppRequests/euridEppInfoDomainRequest.php renamed to Protocols/EPP/eppExtensions/authInfo-1.1/eppRequests/authEppInfoDomainRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
1919
2020
*/
21-
class euridEppInfoDomainRequest extends eppInfoDomainRequest {
21+
class authEppInfoDomainRequest extends eppInfoDomainRequest {
2222
function __construct($infodomain, $hosts = null, $withAuthcode = false) {
2323
parent::__construct($infodomain, $hosts);
2424
if($withAuthcode == true) {
25-
$this->addEURIDExtension();
25+
$this->addAuthExtension();
2626
}
2727
$this->addSessionId();
2828
}
2929

3030

31-
public function addEURIDExtension() {
31+
public function addAuthExtension() {
3232
$authext = $this->createElement('authInfo:info');
3333
$authext->setAttribute('xmlns:authInfo', 'http://www.eurid.eu/xml/epp/authInfo-1.1');
3434
$authext->appendChild($this->createElement('authInfo:request'));

Protocols/EPP/eppExtensions/authInfo-1.1/eppResponses/euridEppInfoDomainResponse.php renamed to Protocols/EPP/eppExtensions/authInfo-1.1/eppResponses/authEppInfoDomainResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Metaregistrar\EPP;
33

4-
class euridEppInfoDomainResponse extends eppInfoDomainResponse {
4+
class authEppInfoDomainResponse extends eppInfoDomainResponse {
55
function __construct() {
66
parent::__construct();
77
}

Protocols/EPP/eppExtensions/authInfo-1.1/includes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
#
44
# For use with the EURID connection
55
#
6-
include_once(dirname(__FILE__) . '/eppRequests/euridEppInfoDomainRequest.php');
7-
include_once(dirname(__FILE__) . '/eppResponses/euridEppInfoDomainResponse.php');
8-
$this->addCommandResponse('Metaregistrar\EPP\euridEppInfoDomainRequest', 'Metaregistrar\EPP\euridEppInfoDomainResponse');
6+
include_once(dirname(__FILE__) . '/eppRequests/authEppInfoDomainRequest.php');
7+
include_once(dirname(__FILE__) . '/eppResponses/authEppInfoDomainResponse.php');
8+
$this->addCommandResponse('Metaregistrar\EPP\authEppInfoDomainRequest', 'Metaregistrar\EPP\authEppInfoDomainResponse');

0 commit comments

Comments
 (0)