From f14807de06929486de6e2b64cd30e5c53978d8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 12 Feb 2014 21:52:01 +0100 Subject: [add] mark all as read #385 --- inc/poche/Poche.class.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'inc/poche/Poche.class.php') diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 9345d1c1..a786c8df 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -434,6 +434,13 @@ class Poche Tools::redirect(); } break; + case 'archive_all' : + $this->store->archiveAll($this->user->getId()); + Tools::logm('archive all links'); + if (!$import) { + Tools::redirect(); + } + break; case 'add_tag' : $tags = explode(',', $_POST['value']); $entry_id = $_POST['entry_id']; -- cgit v1.2.3