Files
grzanieplus.pl/apps/update/modules/stCommunication/lib/stCommunicationShopSoapServer.class.php
2025-03-12 17:06:23 +01:00

23 lines
622 B
PHP

<?php
class stCommunicationShopSoapServer {
public function getLicenseVerificationCode($shopId, $key) {
if (stLicenseExt::getShopId() != $shopId) return -100;
$code = stLicenseAbuse::getVerificationCode($key);
if ($code)
return $code;
else
return -50;
}
public function checkLicenseAbuseStatus($shopId) {
if (stLicenseExt::getShopId() != $shopId) return -100;
stCommunicationCache::disableCache();
$ret = stLicenseAbuse::checkLicenseAbuseStatus();
stCommunicationCache::enableCache();
return $ret;
}
}