[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-291-g1461ec5

Shawn Moore sartak at bestpractical.com
Wed Aug 11 19:11:05 EDT 2010


The branch, 3.9-trunk has been updated
       via  1461ec5edbd55814a990f4b9b5785cd85ee884b3 (commit)
      from  510d78c83293026622404459969365365071d27e (commit)

Summary of changes:
 share/html/Admin/Queues/Modify.html |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 1461ec5edbd55814a990f4b9b5785cd85ee884b3
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Aug 11 19:09:52 2010 -0400

    Add a BeforeUpdate callback to queue modify

diff --git a/share/html/Admin/Queues/Modify.html b/share/html/Admin/Queues/Modify.html
index 94fa340..7103d58 100755
--- a/share/html/Admin/Queues/Modify.html
+++ b/share/html/Admin/Queues/Modify.html
@@ -173,6 +173,13 @@ if ( $QueueObj->Id ) {
             qw(Sign Encrypt Disabled);
     }
 
+    $m->callback(
+        CallbackName => 'BeforeUpdate',
+        Queue => $QueueObj,
+        AttributesRef => \@attribs,
+        ARGSRef => \%ARGS,
+    );
+
     push @results, UpdateRecordObject(
         AttributesRef => \@attribs,
         Object => $QueueObj, 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list