root 2 месяцев назад
Родитель
Сommit
eb81feb481
1 измененных файлов с 17 добавлено и 17 удалено
  1. 17 17
      switchepp.php

+ 17 - 17
switchepp.php

@@ -148,7 +148,7 @@ function switchepp_getConfigArray()
 function switchepp_GetNameservers($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
 
         $client = switchepp_clientloginepp($params);      #Epp Connection
        
@@ -178,7 +178,7 @@ function switchepp_GetNameservers($params)
 function switchepp_SaveNameservers($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info
@@ -292,7 +292,7 @@ function switchepp_SaveNameservers($params)
 function switchepp_RegisterDomain($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
 
       
@@ -471,7 +471,7 @@ function switchepp_RegisterDomain($params)
 function switchepp_GetContactDetails($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info
@@ -541,7 +541,7 @@ function switchepp_GetContactDetails($params)
 function switchepp_SaveContactDetails($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info
@@ -649,7 +649,7 @@ function switchepp_SaveContactDetails($params)
 function switchepp_RequestDelete($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info
@@ -683,7 +683,7 @@ function switchepp_RequestDelete($params)
 function switchepp_TransferDomain($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info
@@ -839,7 +839,7 @@ function switchepp_TransferDomain($params)
 function switchepp_GetEPPCode($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info
@@ -882,7 +882,7 @@ function switchepp_ClientAreaCustomButtonArray()
 function switchepp_Restore($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #Domain Restore XML
@@ -901,7 +901,7 @@ function switchepp_Restore($params)
 function switchepp_Disable_DNSSEC($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #Domain Restore XML
@@ -923,11 +923,11 @@ function switchepp_Disable_DNSSEC($params)
 function switchepp_Enable_DNSSEC($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
-        if ($check_license['status'] == "Active") {
+        // $check_license = switchepp_license_status($params);     #Check License
+        //if ($check_license['status'] == "Active") {
             $client = switchepp_clientloginepp($params);      #Epp Connection
             $login = switchepp_loggedinepp($client, $params);      #Epp Client login
-        }
+        //}
 
         #Domain Restore XML
         $xml = switcheppEnableDnssec($params);
@@ -949,7 +949,7 @@ function switchepp_AdminDomainsTabFields($params)
         $settingArr = getSwitchEPP_setting($params['domainid']);  #get registrar config settings
 
         $params = array_merge($params, $settingArr);
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         $params['domain_punycode'] = $params['sld_punycode'] . '.' . $params['tld'];
@@ -1104,7 +1104,7 @@ function switchepp_TransferSync($params)
 function switchepp_RegisterNameserver($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info
@@ -1135,7 +1135,7 @@ function switchepp_RegisterNameserver($params)
 function switchepp_ModifyNameserver($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info
@@ -1171,7 +1171,7 @@ function switchepp_ModifyNameserver($params)
 function switchepp_DeleteNameserver($params)
 {
     try {
-        $check_license = switchepp_license_status($params);     #Check License
+        // $check_license = switchepp_license_status($params);     #Check License
         $client = switchepp_clientloginepp($params);      #Epp Connection
         $login = switchepp_loggedinepp($client, $params);      #Epp Client login
         #get domain info