From 197d4a92e7a68e9e0455239c17fb19462795e609 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 11 Sep 2008 22:09:21 +0000 Subject: bug fixed: following r2516, remove partner from piwigo_remote.pl, the argument is not useful any longer. git-svn-id: http://piwigo.org/svn/trunk@2519 68402e56-0260-453c-a942-63ccdbb3a9ee --- tools/piwigo_remote.pl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tools/piwigo_remote.pl b/tools/piwigo_remote.pl index 89597ed65..90dc528ac 100644 --- a/tools/piwigo_remote.pl +++ b/tools/piwigo_remote.pl @@ -18,7 +18,6 @@ $ua->cookie_jar({}); my %conf; $conf{base_url} = 'http://localhost/~pierrick/piwigo/trunk'; -$conf{partner_key} = 'youhou'; $conf{response_format} = 'json'; $conf{username} = 'pierrick'; $conf{password} = 'z0rglub'; @@ -37,7 +36,7 @@ my $form = { }; $result = $ua->post( - $conf{base_url}.'/ws.php?partner='.$conf{partner_key}.'&format=json', + $conf{base_url}.'/ws.php?format=json', $form ); @@ -65,7 +64,7 @@ if ($opt{action} eq 'pwg.images.add') { }; my $response = $ua->post( - $conf{base_url}.'/ws.php?partner='.$conf{partner_key}.'&format=json', + $conf{base_url}.'/ws.php?format=json', $form ); @@ -124,10 +123,6 @@ sub pwg_ws_get_query { my $query = $conf{base_url}.'/ws.php?format='.$conf{response_format}; - if (defined $conf{partner_key}) { - $query .= '&partner='.$conf{partner_key}; - } - foreach my $key (keys %params) { $query .= '&'.$key.'='.$params{$key}; } -- cgit v1.2.3