[freeside-commits] freeside/FS/bin freeside-upgrade,1.3,1.4
Ivan,,,
ivan at wavetail.420.am
Mon Jun 19 05:15:34 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail:/tmp/cvs-serv16352/bin
Modified Files:
freeside-upgrade
Log Message:
ACL bootstrapping
Index: freeside-upgrade
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-upgrade,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- freeside-upgrade 30 Mar 2006 14:22:38 -0000 1.3
+++ freeside-upgrade 19 Jun 2006 12:15:32 -0000 1.4
@@ -5,6 +5,7 @@
use Term::ReadKey;
use DBIx::DBSchema 0.31;
use FS::UID qw(adminsuidsetup checkeuid datasrc ); #getsecrets);
+use FS::CurrentUser;
use FS::Schema qw( dbdef dbdef_dist reload_dbdef );
$DEBUG = 1;
@@ -12,6 +13,7 @@
die "Not running uid freeside!" unless checkeuid();
my $user = shift or die &usage;
+$FS::CurrentUser::upgrade_hack = 1;
my $dbh = adminsuidsetup($user);
#needs to match FS::Schema...
More information about the freeside-commits
mailing list