summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;