From 00f9181e2b826422c5786830d7c0a5f7ae8cce33 Mon Sep 17 00:00:00 2001 From: cigamit Date: Tue, 25 Mar 2003 05:01:57 +0000 Subject: [PATCH] We give plugins the ability to add buttons to the mailbox display form, but no way to act upon them. This provides a simple hook to do so. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4672 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/move_messages.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/move_messages.php b/src/move_messages.php index c4702444..02564976 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -161,6 +161,9 @@ if ($targetMailbox != $lastTargetMailbox) { sqsession_register($lastTargetMailbox, 'lastTargetMailbox'); } $exception = false; + +do_hook('move_before_move'); + // expunge-on-demand if user isn't using move_to_trash or auto_expunge if(isset($expungeButton)) { $cnt = sqimap_mailbox_expunge($imapConnection, $mailbox, true); -- 2.25.1