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. <szaimen@e.mail.de>
Signed-off-by: flox_x <93255373+flooxo@users.noreply.github.com>
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
  • Loading branch information
flooxo and szaimen committed Oct 30, 2023
1 parent b998f98 commit ed0bcc9
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 ed0bcc9

Please sign in to comment.