aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-11 01:20:25 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-11 01:20:25 +0000
commitfdffe42bdc703a9f2391c77ae0256c33a3eac935 (patch)
treedecc2a672549c44ffd25b5c785b2fa809524ced3 /ws.php
parent6ddb20d6f096fa51b5e820e1b2e19e93f4df0253 (diff)
remove ws access table/partners functionality
git-svn-id: http://piwigo.org/svn/trunk@2516 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/ws.php b/ws.php
index cf1e6ea2b..fc95a6a45 100644
--- a/ws.php
+++ b/ws.php
@@ -128,7 +128,7 @@ function ws_addDefaultMethods( $arr )
),
'Returns elements for the corresponding query search.'
);
-
+
$service->addMethod(
'pwg.images.setPrivacyLevel',
'ws_images_setPrivacyLevel',
@@ -192,14 +192,9 @@ add_event_handler('ws_add_methods', 'ws_addDefaultMethods');
add_event_handler('ws_invoke_allowed', 'ws_isInvokeAllowed', EVENT_HANDLER_PRIORITY_NEUTRAL, 3);
-$calling_partner_id = '';
$requestFormat = null;
$responseFormat = null;
-if ( isset($_GET['partner']) )
-{
- $calling_partner_id = $_GET['partner'];
-}
if ( isset($_GET['format']) )
{
$responseFormat = $_GET['format'];