aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2008-09-11 22:09:21 +0000
committerplegall <plg@piwigo.org>2008-09-11 22:09:21 +0000
commit197d4a92e7a68e9e0455239c17fb19462795e609 (patch)
treef8bf294d77021a6778a4665b03545e43452196fe /tools
parentbc290fd6b40112e303439bfb3a44d7c63127786f (diff)
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
Diffstat (limited to '')
-rw-r--r--tools/piwigo_remote.pl9
1 files 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};
}