From: Ivan Kohler Date: Fri, 12 Feb 2016 18:02:01 +0000 (-0800) Subject: stub Condition/payby.pm for 3.x->4.x upgrades, RT#32043 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=1d4f9b2a53e1a352e3df0ceb1665d8a90d449aa0;p=freeside.git stub Condition/payby.pm for 3.x->4.x upgrades, RT#32043 --- diff --git a/FS/FS/part_event/Condition/payby.pm b/FS/FS/part_event/Condition/payby.pm new file mode 100644 index 000000000..b66635103 --- /dev/null +++ b/FS/FS/part_event/Condition/payby.pm @@ -0,0 +1,19 @@ +package FS::part_event::Condition::payby; +use base qw( FS::part_event::Condition ); + +use strict; + +#this has no meaning in 4.x, but we need some sort of stub to upgrade + +sub description { + '(Deprecated) Customer payment type'; +} + +#never true, so never run? that seems right. this condition should have been +# migrated in your upgrade. if not, not running is safter than running for all +# customers +sub condition { 0; } + +sub disabled { 1; } + +1;