Changeset 2634 for trunk/include
- Timestamp:
- Oct 1, 2008, 11:08:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r2592 r2634 1398 1398 return $creation_output; 1399 1399 } 1400 1401 function ws_tags_add($params, &$service) 1402 { 1403 if (!is_admin() or is_adviser()) 1404 { 1405 return new PwgError(401, 'Access denied'); 1406 } 1407 1408 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 1409 1410 $creation_output = create_tag($params['name']); 1411 1412 if (isset($creation_output['error'])) 1413 { 1414 return new PwgError(500, $creation_output['error']); 1415 } 1416 1417 return $creation_output; 1418 } 1400 1419 ?>
Note: See TracChangeset
for help on using the changeset viewer.