X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fsecurity_review%2Fsrc%2FSecurityReview.php;h=fafaa9c5349c4e86da978a0a7eef207a0771dffe;hb=74df008bdbb3a11eeea356744f39b802369bda3c;hp=03c48fe90da7003d521297ac79336b7a7a10e533;hpb=ba1b5c55c66590c41ccc9844d3e62391b0399abb;p=yaffs-website diff --git a/web/modules/contrib/security_review/src/SecurityReview.php b/web/modules/contrib/security_review/src/SecurityReview.php index 03c48fe90..fafaa9c53 100644 --- a/web/modules/contrib/security_review/src/SecurityReview.php +++ b/web/modules/contrib/security_review/src/SecurityReview.php @@ -1,10 +1,5 @@ config->get('last_run'); + return $this->state->get('last_run', 0); } /** @@ -168,8 +163,7 @@ class SecurityReview { * The new value for 'last_run'. */ public function setLastRun($last_run) { - $this->config->set('last_run', $last_run); - $this->config->save(); + $this->state->set('last_run', $last_run); } /**