Skip to content

Commit

Permalink
Item11808: reverting perltidy
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FlexWebListPlugin@14714 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed May 7, 2012
1 parent b63ec26 commit 7e47d83
Show file tree
Hide file tree
Showing 3 changed files with 311 additions and 353 deletions.
27 changes: 12 additions & 15 deletions lib/Foswiki/Plugins/FlexWebListPlugin.pm
Expand Up @@ -17,30 +17,27 @@ package Foswiki::Plugins::FlexWebListPlugin;
use strict;
use vars qw( $VERSION $RELEASE $core $NO_PREFS_IN_TOPIC $SHORTDESCRIPTION);

$VERSION = '$Rev$';
$RELEASE = '1.61';
$VERSION = '$Rev$';
$RELEASE = '1.61';
$NO_PREFS_IN_TOPIC = 1;
$SHORTDESCRIPTION = 'Flexible way to display hierarchical weblists';
$SHORTDESCRIPTION = 'Flexible way to display hierarchical weblists';

###############################################################################
sub initPlugin {
$core = undef;
Foswiki::Func::registerTagHandler(
'FLEXWEBLIST',
sub {
return newCore()->handler(@_);
}
);
return 1;
$core = undef;
Foswiki::Func::registerTagHandler('FLEXWEBLIST', sub {
return newCore()->handler(@_);
});
return 1;
}

###############################################################################
sub newCore {

return $core if $core;
require Foswiki::Plugins::FlexWebListPlugin::Core;
$core = new Foswiki::Plugins::FlexWebListPlugin::Core;
return $core;
return $core if $core;
require Foswiki::Plugins::FlexWebListPlugin::Core;
$core = new Foswiki::Plugins::FlexWebListPlugin::Core;
return $core;
}

1;

0 comments on commit 7e47d83

Please sign in to comment.