summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-07-13 10:12:22 +0000
committerivan <ivan>2009-07-13 10:12:22 +0000
commit3cb93a3aa0af9f004b7ee122bdf5c1daf5f1289c (patch)
treea017c627816f3d078a8abf9cb0d82c4f770b18c2
parentff27089dd05a3d9ff0b0b9898d7104d18c0174ac (diff)
eliminate harmless "no %info hash found in FS::part_pkg::recur_Common, skipping" warning
-rw-r--r--FS/FS/part_pkg/recur_Common.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/recur_Common.pm b/FS/FS/part_pkg/recur_Common.pm
index 71f3af718..2739cbc8f 100644
--- a/FS/FS/part_pkg/recur_Common.pm
+++ b/FS/FS/part_pkg/recur_Common.pm
@@ -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)',