Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGretaD <gretadoci@gmail.com>2020-12-16 18:23:16 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-01-20 20:37:05 +0300
commitdd42f79f7fc12f128666b2c3e74ec4a02eae0309 (patch)
tree6593d9e05cc1caceb6dded69c8600e66d5a103c5 /lib/Service
parent9ea472d40688d4c5fdc3a84f4d80ec4282b27dd3 (diff)
Add undo option for trusted senders
Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/TrustedSenderService.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Service/TrustedSenderService.php b/lib/Service/TrustedSenderService.php
index f70b87f39..8210be686 100644
--- a/lib/Service/TrustedSenderService.php
+++ b/lib/Service/TrustedSenderService.php
@@ -62,4 +62,8 @@ class TrustedSenderService implements ITrustedSenderService {
);
}
}
+
+ public function getTrusted(string $uid): array {
+ return $this->mapper->findAll($uid);
+ }
}