Commit Graph

4 Commits

Author SHA1 Message Date
Bjoern Kahl
8fd2a5d06a Fix out-of-bound array access (IMAP)
The IMAP method allows user names with or without a domain part.  For
user names without a domain part, it still tries to access the (then
non-existing) domain, resulting in "Error: Undefined array key 1 at
.../nextcloud/apps/user_external/lib/IMAP.php#85" log messages.

Signed-off-by: Bjoern Kahl <mls@bjoern-kahl.de>
2023-11-25 21:46:26 +01:00
Tem Ogunfiditimi
1fbc471efe Examine error code returned by curl handle instead of return value from curl_exec. Using the return value from curl_exec resulted in failure on new mailboxes that did not contain any mail.
Signed-off-by: Tem Ogunfiditimi <tem@episof.com>

Changed comparison to identical check

Signed-off-by: Tem Ogunfiditmi <tem@episof.com>
Signed-off-by: Tem Ogunfiditimi <tem@episof.com>
2022-12-27 21:36:59 +01:00
John Molakvoæ
751dc7ea2a Cs fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-15 08:18:32 +02:00
Biermair Martin
990b6d73d3 migration to nextcloud app v3.0.0
Signed-off-by: Biermair Martin <martin.biermair@wimbergerhaus.at>
2022-04-10 10:47:18 +02:00