From 1dd79b4bac79ba8bd9ae68b20870e60ec62fabf2 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 12 Mar 2014 13:41:35 +0000 Subject: feature 3054: new trigger ws_users_getList git-svn-id: http://piwigo.org/svn/branches/2.6@27715 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions/pwg.users.php | 2 ++ tools/triggers_list.php | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/include/ws_functions/pwg.users.php b/include/ws_functions/pwg.users.php index d8b70c6ae..345d8f661 100644 --- a/include/ws_functions/pwg.users.php +++ b/include/ws_functions/pwg.users.php @@ -251,6 +251,8 @@ SELECT } } + $users = trigger_change('ws_users_getList', $users); + return array( 'paging' => new PwgNamedStruct( array( diff --git a/tools/triggers_list.php b/tools/triggers_list.php index a18dda4c0..e392cd217 100644 --- a/tools/triggers_list.php +++ b/tools/triggers_list.php @@ -830,6 +830,13 @@ array( 'files' => array('admin\picture_modify.php'), 'infos' => 'New in 2.6.2.', ), +array( + 'name' => 'ws_users_getList', + 'type' => 'trigger_event', + 'vars' => array('array', 'users'), + 'files' => array('include\ws_functions\pwg.users.php'), + 'infos' => 'New in 2.6.2.', +), ); ?> -- cgit v1.2.3