Skip to content

Commit

Permalink
Update apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php
Browse files Browse the repository at this point in the history
Co-authored-by: Simon L. <[email protected]>
Signed-off-by: flox_x <[email protected]>
  • Loading branch information
flooxo and szaimen authored Oct 30, 2023
1 parent 3910c7d commit ba23f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function beforeHandler(RequestInterface $request) {
}

$minimumSupportedDesktopVersion = $this->config->getSystemValue('minimum.supported.desktop.version', '2.3.0');
$maximumSupportedDesktopVersion = $this->config->getSystemValue('maximum.supported.desktop.version', '');
$maximumSupportedDesktopVersion = $this->config->getSystemValueString('maximum.supported.desktop.version', '');
preg_match(IRequest::USER_AGENT_CLIENT_DESKTOP, $userAgent, $versionMatches);
if (isset($versionMatches[1]) &&
version_compare($versionMatches[1], $minimumSupportedDesktopVersion) === -1 ||
Expand Down

0 comments on commit ba23f6b

Please sign in to comment.