Skip to content

Commit

Permalink
forget about the license
Browse files Browse the repository at this point in the history
  • Loading branch information
markweirath committed Mar 18, 2019
1 parent 5c587b4 commit 255608f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/Controller/Component/XlrFunctionsComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,11 @@ public function getLicenseDetails($key) {
* @return bool|mixed
*/
public function isLicenseValid() {
// Disable license checking, always return true
return true;

// The license server will only be polled once p/5minutes when invalid, and once p/week when valid
if (Configure::check('license.valid')) {
/* if (Configure::check('license.valid')) {
return Configure::read('license.valid');
} else {
$json = Cache::read('licenseKeyInfo', '1week');
Expand All @@ -278,7 +281,7 @@ public function isLicenseValid() {
Configure::write('license.valid', true);
return true;
}
}
}*/
}

//-------------------------------------------------------------------
Expand Down

0 comments on commit 255608f

Please sign in to comment.