From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 05 Feb 2016 07:25:27 -0500 Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports --- plugins/example_addressbook/example_addressbook_backend.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/example_addressbook/example_addressbook_backend.php b/plugins/example_addressbook/example_addressbook_backend.php index 8c143c2..c965d5a 100644 --- a/plugins/example_addressbook/example_addressbook_backend.php +++ b/plugins/example_addressbook/example_addressbook_backend.php @@ -44,7 +44,7 @@ $this->filter = null; } - function list_groups($search = null) + function list_groups($search = null, $mode = 0) { return array( array('ID' => 'testgroup1', 'name' => "Testgroup"), @@ -98,7 +98,7 @@ return false; } - function rename_group($gid, $newname) + function rename_group($gid, $newname, &$newid) { return $newname; } -- Gitblit v1.9.1