new: WebService method pwg.tags.getAdminList was added. The difference with

pwg.tags.getList is that this new method doesn't take permissions into
account, and so is available only for administrator connected users.


git-svn-id: http://piwigo.org/svn/trunk@2584 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2008-09-24 21:30:33 +00:00
parent 6df515a54f
commit 5adad7565c
3 changed files with 54 additions and 0 deletions
+7
View File
@@ -211,6 +211,13 @@ function ws_addDefaultMethods( $arr )
),
'administration method only'
);
$service->addMethod(
'pwg.tags.getAdminList',
'ws_tags_getAdminList',
array(),
'administration method only'
);
}
add_event_handler('ws_add_methods', 'ws_addDefaultMethods');