]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Poche.class.php
[add] mark all as read #385
[github/wallabag/wallabag.git] / inc / poche / Poche.class.php
index 9345d1c1cd9a73bbbf4e863a7ce445e0be24fe0f..a786c8df5a97a37a079636cd9289da9afa7ddd68 100644 (file)
@@ -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'];