From 79d20e47581b0cae9809b025c7d2b922c0b29dea Mon Sep 17 00:00:00 2001 From: Brad Rubenstein Date: Mon, 12 Nov 2018 12:59:12 -0800 Subject: Revert 3ff3ed0c56 case-insensitive compares. My oops. The comparisons, which are copied from the IMipPlugin shipped with sabre-io/dav, do not need to be case insensitive because the sender and recipient names are normalized by sabre, (see calls to getNormalizedValue in voboject/lib/ITip/Broker.php). Signed-off-by: Brad Rubenstein --- apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index 987e6c86f5d..7035d3c780f 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -144,11 +144,11 @@ class IMipPlugin extends SabreIMipPlugin { $summary = $iTipMessage->message->VEVENT->SUMMARY; - if (strcasecmp(parse_url($iTipMessage->sender, PHP_URL_SCHEME), 'mailto') !== 0) { + if (parse_url($iTipMessage->sender, PHP_URL_SCHEME) !== 'mailto') { return; } - if (strcasecmp(parse_url($iTipMessage->recipient, PHP_URL_SCHEME), 'mailto') !== 0) { + if (parse_url($iTipMessage->recipient, PHP_URL_SCHEME) !== 'mailto') { return; } -- cgit v1.2.3