Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item11176: Proper fix. It is object-oriented, so use it, instead of r…
…elying on old hacks. And do not tell me the 1 ns performance loss was worse the ugliness :)

git-svn-id: http://svn.foswiki.org/branches/Release01x01@12740 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OlivierRaginel authored and OlivierRaginel committed Oct 9, 2011
1 parent 9c2d306 commit 0cf1751
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions core/lib/Foswiki/IncludeHandlers/https.pm
@@ -1,22 +1,22 @@
# See bottom of file for license and copyright information

# SMELL: Item10426 Can't use strict when monkey patching references
#use strict;
use warnings;

=begin TML
---+ package Foswiki::IncludeHandlers::https
This package is designed to be lazy-loaded when Foswiki sees
an INCLUDE macro with the https: protocol. It implements a single
method INCLUDE.
an INCLUDE macro with the https: protocol. It relies on
Foswiki::IncludeHandlers::http for implementation.
=cut

use Foswiki::IncludeHandlers::http ();
package Foswiki::IncludeHandlers::https;

*{'Foswiki::IncludeHandlers::https::'} = \*{'Foswiki::IncludeHandlers::http::'};
use strict;
use warnings;

use Foswiki::IncludeHandlers::http ();
our @ISA = qw( Foswiki::IncludeHandlers::http );

1;

Expand Down

0 comments on commit 0cf1751

Please sign in to comment.