[freeside-commits] branch FREESIDE_4_BRANCH updated. 1d4f9b2a53e1a352e3df0ceb1665d8a90d449aa0

Ivan ivan at 420.am
Fri Feb 12 10:02:05 PST 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  1d4f9b2a53e1a352e3df0ceb1665d8a90d449aa0 (commit)
      from  bc3212c877cfb76bd6e6ba9843cfa496823d77b9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1d4f9b2a53e1a352e3df0ceb1665d8a90d449aa0
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Feb 12 10:02:01 2016 -0800

    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 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;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_event/Condition/payby.pm |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 FS/FS/part_event/Condition/payby.pm




More information about the freeside-commits mailing list