Skip to content
Permalink
Browse files

Item2559: Some calls to checkValidationKey contains unused parameters

git-svn-id: http://svn.foswiki.org/branches/Release01x00@5912 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
KennethLavrsen KennethLavrsen
KennethLavrsen authored and KennethLavrsen committed Jan 3, 2010
1 parent 5ae5df3 commit 511c97f4b9979b564d1710104e3d4a4be09e496d
Showing with 3 additions and 6 deletions.
  1. +3 −6 core/lib/Foswiki/UI/Manage.pm
@@ -177,8 +177,7 @@ sub _action_createweb {
$opts->{ uc($p) } = $query->param($p);
}

Foswiki::UI::checkValidationKey(
$session, 'createweb', $session->{webName}, $session->{topicName} );
Foswiki::UI::checkValidationKey( $session );

my $err = $session->{store}->createWeb( $cUID, $newWeb, $baseWeb, $opts );
if ($err) {
@@ -421,8 +420,7 @@ sub rename {
return undef if ($query && $query->method() &&
uc($query->method()) ne 'POST');

Foswiki::UI::checkValidationKey(
$session, 'rename', $session->{webName}, $session->{topicName} );
Foswiki::UI::checkValidationKey( $session );

# Update references in referring pages - not applicable to attachments.
my $refs;
@@ -894,8 +892,7 @@ sub _renameweb {

return undef if ($query && $query->method() && $query->method() ne 'POST');

Foswiki::UI::checkValidationKey(
$session, 'rename', $session->{webName}, $session->{topicName} );
Foswiki::UI::checkValidationKey( $session );

# Update references in referring pages
my $refs =

0 comments on commit 511c97f

Please sign in to comment.
You can’t perform that action at this time.