Skip to content

Commit

Permalink
merge r27715 from branch 2.6 to trunk
Browse files Browse the repository at this point in the history
feature 3054: new trigger ws_users_getList



git-svn-id: http://piwigo.org/svn/trunk@27716 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Mar 12, 2014
1 parent fadbc98 commit cdeb595
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/ws_functions/pwg.users.php
Expand Up @@ -251,6 +251,8 @@ function ws_users_getList($params, &$service)
}
}

$users = trigger_change('ws_users_getList', $users);

return array(
'paging' => new PwgNamedStruct(
array(
Expand Down
7 changes: 7 additions & 0 deletions tools/triggers_list.php
Expand Up @@ -837,6 +837,13 @@
'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>
Expand Down

0 comments on commit cdeb595

Please sign in to comment.