aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-03-12 13:41:35 +0000
committerplegall <plg@piwigo.org>2014-03-12 13:41:35 +0000
commit1dd79b4bac79ba8bd9ae68b20870e60ec62fabf2 (patch)
tree922ca1a2be60451b7e05bbcdf2ba3ce4fa0b24cd
parent9cc4ce45d8dd3c7aaeb33a5f44c2288e8ad65805 (diff)
feature 3054: new trigger ws_users_getList
git-svn-id: http://piwigo.org/svn/branches/2.6@27715 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/ws_functions/pwg.users.php2
-rw-r--r--tools/triggers_list.php7
2 files changed, 9 insertions, 0 deletions
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.',
+),
);
?>
<!DOCTYPE html>