summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorjeff <jeff>2007-04-04 20:04:12 +0000
committerjeff <jeff>2007-04-04 20:04:12 +0000
commit8c88c7f51abfe6aee280e71894c70a3973bdd93f (patch)
treef43ca7d5a78ebf1602cc3118ebebe5284b2720a0 /FS/bin
parent35c4388e065d3abccccc336c944273b7e23cd95f (diff)
correct a bootstrap issue
Diffstat (limited to 'FS/bin')
-rwxr-xr-xFS/bin/freeside-upgrade2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index b3ac2d151..04e5da988 100755
--- a/FS/bin/freeside-upgrade
+++ b/FS/bin/freeside-upgrade
@@ -21,7 +21,9 @@ $DRY_RUN = $opt_d;
my $user = shift or die &usage;
$FS::CurrentUser::upgrade_hack = 1;
+$FS::UID::callback_hack = 1;
my $dbh = adminsuidsetup($user);
+$FS::UID::callback_hack = 0;
#needs to match FS::Schema...
my $dbdef_file = "%%%FREESIDE_CONF%%%/dbdef.". datasrc;