You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@apache.org on 2002/02/01 15:47:21 UTC

cvs commit: xml-axkit/lib/Apache/AxKit/Plugin Fragment.pm Passthru.pm

matts       02/02/01 06:47:21

  Modified:    lib/Apache/AxKit/MediaChooser WAPCheck.pm
               lib/Apache/AxKit/Plugin Fragment.pm Passthru.pm
  Log:
  Updated OK stuff for plugins
  
  Revision  Changes    Path
  1.2       +2 -2      xml-axkit/lib/Apache/AxKit/MediaChooser/WAPCheck.pm
  
  Index: WAPCheck.pm
  ===================================================================
  RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/MediaChooser/WAPCheck.pm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WAPCheck.pm	13 Jan 2002 20:45:12 -0000	1.1
  +++ WAPCheck.pm	1 Feb 2002 14:47:21 -0000	1.2
  @@ -1,9 +1,9 @@
  -# $Id: WAPCheck.pm,v 1.1 2002/01/13 20:45:12 matts Exp $
  +# $Id: WAPCheck.pm,v 1.2 2002/02/01 14:47:21 matts Exp $
   
   package Apache::AxKit::MediaChooser::WAPCheck;
   
   use strict;
  -use Apache::Constants;
  +use Apache::Constants qw(OK);
   
   sub handler {
   	my $r = shift;
  
  
  
  1.2       +2 -2      xml-axkit/lib/Apache/AxKit/Plugin/Fragment.pm
  
  Index: Fragment.pm
  ===================================================================
  RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Plugin/Fragment.pm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Fragment.pm	13 Jan 2002 20:45:12 -0000	1.1
  +++ Fragment.pm	1 Feb 2002 14:47:21 -0000	1.2
  @@ -1,10 +1,10 @@
  -# $Id: Fragment.pm,v 1.1 2002/01/13 20:45:12 matts Exp $
  +# $Id: Fragment.pm,v 1.2 2002/02/01 14:47:21 matts Exp $
   
   package Apache::AxKit::Plugin::Fragment;
   
   use strict;
   
  -use Apache::Constants;
  +use Apache::Constants qw(OK);
   use Apache::AxKit::Language::XPathScript;
   use XML::XPath;
   use XML::XPath::Parser;
  
  
  
  1.2       +3 -3      xml-axkit/lib/Apache/AxKit/Plugin/Passthru.pm
  
  Index: Passthru.pm
  ===================================================================
  RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Plugin/Passthru.pm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Passthru.pm	13 Jan 2002 20:45:12 -0000	1.1
  +++ Passthru.pm	1 Feb 2002 14:47:21 -0000	1.2
  @@ -1,9 +1,9 @@
  -# $Id: Passthru.pm,v 1.1 2002/01/13 20:45:12 matts Exp $
  +# $Id: Passthru.pm,v 1.2 2002/02/01 14:47:21 matts Exp $
   
   package Apache::AxKit::Plugin::Passthru;
   
   use strict;
  -use Apache::Constants;
  +use Apache::Constants qw(OK);
   
   sub handler {
       my $r = shift;
  @@ -15,7 +15,7 @@
       if ($in{passthru_type}) {
           $r->notes('axkit_passthru_type', 1);
       }
  -    return DECLINED;
  +    return OK;
   }
   
   1;