[freeside-commits] freeside/FS/bin freeside-upgrade,1.14,1.15
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Dec 4 10:21:00 PST 2007
- Previous message: [freeside-commits] freeside/FS/FS/part_pkg flat_comission.pm, 1.5, 1.6 flat_comission_cust.pm, 1.5, 1.6 flat_comission_pkg.pm, 1.4, 1.5
- Next message: [freeside-commits] freeside/FS/FS AccessRight.pm, 1.24, 1.25 Conf.pm, 1.213, 1.214 Schema.pm, 1.74, 1.75 Setup.pm, 1.11, 1.12 Upgrade.pm, 1.1, 1.2 cust_credit.pm, 1.26, 1.27 cust_main.pm, 1.325, 1.326 cust_pkg.pm, 1.85, 1.86 reason.pm, 1.3, 1.4 reason_type.pm, 1.1, 1.2 Conf_compat17.pm, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail:/tmp/cvs-serv23022/FS/bin
Modified Files:
freeside-upgrade
Log Message:
change credit reasons from freetext to new reason/reason type system (#2777)
Index: freeside-upgrade
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-upgrade,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- freeside-upgrade 28 Oct 2007 12:51:30 -0000 1.14
+++ freeside-upgrade 4 Dec 2007 18:20:58 -0000 1.15
@@ -11,6 +11,7 @@
use FS::Misc::prune qw(prune_applications);
use FS::Conf;
use FS::Record qw(qsearch);
+use FS::Upgrade qw(upgrade);
die "Not running uid freeside!" unless checkeuid();
@@ -92,6 +93,9 @@
}
}
+upgrade()
+ unless $DRY_RUN;
+
$dbh->commit or die $dbh->errstr;
dbdef_create($dbh, $dbdef_file);
- Previous message: [freeside-commits] freeside/FS/FS/part_pkg flat_comission.pm, 1.5, 1.6 flat_comission_cust.pm, 1.5, 1.6 flat_comission_pkg.pm, 1.4, 1.5
- Next message: [freeside-commits] freeside/FS/FS AccessRight.pm, 1.24, 1.25 Conf.pm, 1.213, 1.214 Schema.pm, 1.74, 1.75 Setup.pm, 1.11, 1.12 Upgrade.pm, 1.1, 1.2 cust_credit.pm, 1.26, 1.27 cust_main.pm, 1.325, 1.326 cust_pkg.pm, 1.85, 1.86 reason.pm, 1.3, 1.4 reason_type.pm, 1.1, 1.2 Conf_compat17.pm, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list