projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3212c
)
stub Condition/payby.pm for 3.x->4.x upgrades, RT#32043
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 12 Feb 2016 18:02:01 +0000
(10:02 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 12 Feb 2016 18:02:01 +0000
(10:02 -0800)
FS/FS/part_event/Condition/payby.pm
[new file with mode: 0644]
patch
|
blob
diff --git a/FS/FS/part_event/Condition/payby.pm
b/FS/FS/part_event/Condition/payby.pm
new file mode 100644
(file)
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;