eliminate harmless "no %info hash found in FS::part_pkg::recur_Common, skipping"...
authorivan <ivan>
Mon, 13 Jul 2009 10:12:22 +0000 (10:12 +0000)
committerivan <ivan>
Mon, 13 Jul 2009 10:12:22 +0000 (10:12 +0000)
FS/FS/part_pkg/recur_Common.pm

index 71f3af7..2739cbc 100644 (file)
@@ -1,13 +1,15 @@
 package FS::part_pkg::recur_Common;
 
 use strict;
-use vars qw( @ISA %recur_method );
+use vars qw( @ISA %info %recur_method );
 use Tie::IxHash;
 use Time::Local;
 use FS::part_pkg::prorate;
 
 @ISA = qw(FS::part_pkg::prorate);
 
+%info = ( 'disabled' => 1 ); #recur_Common not a usable price plan directly
+
 tie %recur_method, 'Tie::IxHash',
   'anniversary'  => 'Charge the recurring fee at the frequency specified above',
   'prorate'      => 'Charge a prorated fee the first time (selectable billing date)',