[freeside-commits] freeside/FS/FS Upgrade.pm,1.1.2.17,1.1.2.18
Ivan,,,
ivan at wavetail.420.am
Tue Sep 9 14:04:42 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv2975
Modified Files:
Tag: FREESIDE_1_7_BRANCH
Upgrade.pm
Log Message:
show which _upgrade_data sub is being run
Index: Upgrade.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Upgrade.pm,v
retrieving revision 1.1.2.17
retrieving revision 1.1.2.18
diff -u -d -r1.1.2.17 -r1.1.2.18
--- Upgrade.pm 3 Sep 2008 19:02:47 -0000 1.1.2.17
+++ Upgrade.pm 9 Sep 2008 21:04:39 -0000 1.1.2.18
@@ -1,7 +1,7 @@
package FS::Upgrade;
use strict;
-use vars qw( @ISA @EXPORT_OK );
+use vars qw( @ISA @EXPORT_OK $DEBUG );
use Exporter;
use Tie::IxHash;
use FS::UID qw( dbh driver_name );
@@ -14,6 +14,8 @@
@ISA = qw( Exporter );
@EXPORT_OK = qw( upgrade upgrade_sqlradius );
+$DEBUG = 1;
+
=head1 NAME
FS::Upgrade - Database upgrade routines
@@ -51,6 +53,7 @@
die $@ if $@;
if ( $class->can('_upgrade_data') ) {
+ warn "Upgrading $table...\n";
$class->_upgrade_data(%opt);
} else {
warn "WARNING: asked for upgrade of $table,".
More information about the freeside-commits
mailing list