summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-02-12 10:02:01 -0800
committerIvan Kohler <ivan@freeside.biz>2016-02-12 10:02:01 -0800
commit1d4f9b2a53e1a352e3df0ceb1665d8a90d449aa0 (patch)
tree1c8ede820cbce8e70512fe12f2bc29c98d412803 /FS/FS
parentbc3212c877cfb76bd6e6ba9843cfa496823d77b9 (diff)
stub Condition/payby.pm for 3.x->4.x upgrades, RT#32043
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/part_event/Condition/payby.pm19
1 files changed, 19 insertions, 0 deletions
diff --git a/FS/FS/part_event/Condition/payby.pm b/FS/FS/part_event/Condition/payby.pm
new file mode 100644
index 0000000..b666351
--- /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;