Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Fixes cache reset issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Lannoy committed Dec 15, 2022
1 parent 473b6c7 commit 28e202f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/DNSSEC.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ private function checkStatus() {
*
*/
public function reset() {
$this->domainApi->invalidateCache( '/dnskeys' );
$this->domainApi->invalidateCache( '/livedns' );
$this->livednsApi->invalidateCache( '/keys' );
$this->keys = null;
$this->isactivable = null;
$this->isactivated = null;
Expand Down
1 change: 1 addition & 0 deletions lib/dnsSnaphot.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function __construct( $apiKey, $domain ) {
*
*/
public function reset() {
$this->livednsApi->invalidateCache( '/snapshots' );
$this->snapshots = null;
$this->details = null;
}
Expand Down

0 comments on commit 28e202f

Please sign in to comment.