Changeset 27811 for trunk/include/ws_functions/pwg.groups.php
- Timestamp:
- Mar 17, 2014, 11:20:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions/pwg.groups.php
r26461 r27811 166 166 function ws_groups_setInfo($params, &$service) 167 167 { 168 if (get_pwg_token() != $params['pwg_token']) 169 { 170 return new PwgError(403, 'Invalid security token'); 171 } 172 168 173 $updates = array(); 169 174 … … 222 227 function ws_groups_addUser($params, &$service) 223 228 { 229 if (get_pwg_token() != $params['pwg_token']) 230 { 231 return new PwgError(403, 'Invalid security token'); 232 } 233 224 234 // does the group exist ? 225 235 $query = ' … … 265 275 function ws_groups_deleteUser($params, &$service) 266 276 { 277 if (get_pwg_token() != $params['pwg_token']) 278 { 279 return new PwgError(403, 'Invalid security token'); 280 } 281 267 282 // does the group exist ? 268 283 $query = '
Note: See TracChangeset
for help on using the changeset viewer.