Skip to content

Commit

Permalink
Item9318: just noticed this was loading twice
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@8176 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Jul 14, 2010
1 parent 413cf04 commit e485110
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/lib/Foswiki/Func.pm
Expand Up @@ -1726,7 +1726,6 @@ sub saveAttachment {
my ( $web, $topic, $name, $data ) = @_;
ASSERT($Foswiki::Plugins::SESSION) if DEBUG;

my $meta = Foswiki::Meta->load( $Foswiki::Plugins::SESSION, $web, $topic );
my $topicObject =
Foswiki::Meta->new( $Foswiki::Plugins::SESSION, $web, $topic );
unless ( $topicObject->haveAccess('CHANGE') ) {
Expand Down

0 comments on commit e485110

Please sign in to comment.