projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
53aceae
)
please mr. bootstrapping tree, give us some bootsap
author
ivan
<ivan>
Wed, 9 Apr 2008 21:27:14 +0000
(21:27 +0000)
committer
ivan
<ivan>
Wed, 9 Apr 2008 21:27:14 +0000
(21:27 +0000)
FS/FS/UID.pm
patch
|
blob
|
history
diff --git
a/FS/FS/UID.pm
b/FS/FS/UID.pm
index
a94e90f
..
dd4850f
100644
(file)
--- a/
FS/FS/UID.pm
+++ b/
FS/FS/UID.pm
@@
-114,13
+114,10
@@
sub forksuidsetup {
warn "$me forksuidsetup deciding upon config system to use\n" if $DEBUG;
warn "$me forksuidsetup deciding upon config system to use\n" if $DEBUG;
- my $sth = '';
- if ( dbdef->table('conf')
- and $sth = $dbh->prepare("SELECT COUNT(*) FROM conf")
- and $sth->execute
- )
- {
+ if ( ! $FS::Schema::setup_hack && dbdef->table('conf') ) {
+ my $sth = $dbh->prepare("SELECT COUNT(*) FROM conf") or die $dbh->errstr;
+ $sth->execute or die $sth->errstr;
my $confcount = $sth->fetchrow_arrayref->[0];
if ($confcount) {
my $confcount = $sth->fetchrow_arrayref->[0];
if ($confcount) {