From 27ce6e635f6357c4ecc89f6b2ef44d43db47f054 Mon Sep 17 00:00:00 2001
From: Aron Novak <aaron@szentimre.hu>
Date: Wed, 2 Mar 2011 16:51:27 +0100
Subject: [PATCH] Hook to allow other modules to act on completed VBO actions

---
 views_bulk_operations.module |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/views_bulk_operations.module b/views_bulk_operations.module
index 24be99d..52383c4 100644
--- a/views_bulk_operations.module
+++ b/views_bulk_operations.module
@@ -1513,6 +1513,8 @@ function _views_bulk_operations_direct_process($view, $operation, $objects, $par
     ));
     $context['results']['rows'] += 1;
   }
+  // Let other modules to react on the element processing
+  module_invoke_all('views_bulk_operations_finish', $operation, $params, $context);
 }
 
 /**
-- 
1.7.4.1

