Skip to content

Commit

Permalink
Item11627: perltidy
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@14261 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Mar 9, 2012
1 parent 599682b commit 76d7dd0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/lib/Foswiki/UI/Manage.pm
Expand Up @@ -407,12 +407,11 @@ sub _action_editSettings {
my $topicObject = Foswiki::Meta->load( $session, $web, $topic );
Foswiki::UI::checkAccess( $session, 'VIEW', $topicObject );


# Check lease, unless we have been instructed to ignore it
# or if we are using the 10X's or AUTOINC topic name for
# dynamic topic names.
my $breakLock = $query->param('breaklock') || '';
unless ( $breakLock ) {
unless ($breakLock) {
my $lease = $topicObject->getLease();
if ($lease) {
my $who = $users->webDotWikiName( $lease->{user} );
Expand Down Expand Up @@ -471,7 +470,6 @@ sub _action_editSettings {
my $settings = "";
$topicObject->setLease( $Foswiki::cfg{LeaseLength} );


my @fields = $topicObject->find('PREFERENCE');
foreach my $field (@fields) {
my $name = $field->{name};
Expand Down

0 comments on commit 76d7dd0

Please sign in to comment.