- /**
- * Check verification result and return true if system must to show notification message
- *
- * @return bool
- */
- private function _canShowNotification()
- {
- if ($this->_cache->load(self::VERIFICATION_RESULT_CACHE_KEY)) {
- return false;
- }
-
- if ($this->_isFileAccessible()) {
- return true;
- }
-
- $adminSessionLifetime = (int)$this->_backendConfig->getValue('admin/security/session_lifetime');
- $this->_cache->save(true, self::VERIFICATION_RESULT_CACHE_KEY, [], $adminSessionLifetime);
- return false;
- }