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

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-29 18:53:55 +0300
committerJoas Schilling <coding@schilljs.com>2018-02-02 16:01:51 +0300
commit5ce598d4203f9a55d6fed1c9cb930b595b4225bb (patch)
treec25d9d29937cfa5cbe08fe4784ab99147a63bb99 /lib/Capabilities.php
parent508c1f6853ed30484227f4b4a1bc0134726d1cb8 (diff)
Add an endpoint to delete all notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Capabilities.php')
-rw-r--r--lib/Capabilities.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Capabilities.php b/lib/Capabilities.php
index 6b832f6..0c0fd3f 100644
--- a/lib/Capabilities.php
+++ b/lib/Capabilities.php
@@ -42,6 +42,7 @@ class Capabilities implements ICapability {
'list',
'get',
'delete',
+ 'delete-all',
'icons',
'rich-strings',
],