Signed-off-by: provokateurin <kate@provokateurin.de>
}
$cookieName = $this->getProtectedCookieName('nc_sameSiteCookiestrict');
- if ($this->getCookie($cookieName) === 'true'
- && $this->passesLaxCookieCheck()) {
- return true;
- }
- return false;
+ return $this->getCookie($cookieName) === 'true' && $this->passesLaxCookieCheck();
}
/**
}
$cookieName = $this->getProtectedCookieName('nc_sameSiteCookielax');
- if ($this->getCookie($cookieName) === 'true') {
- return true;
- }
- return false;
+ return $this->getCookie($cookieName) === 'true';
}