summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-06-14 09:19:33 +0000
committerivan <ivan>2002-06-14 09:19:33 +0000
commit251c436ab3d9b79d74ab4fc9af05aac4acf26489 (patch)
treea667047a1cc54b02769b7ace37c511f9779ad5ff
parentfcc3d1c712ed1f50e9aaa79b764392e31359a825 (diff)
only run callbacks once... should speed things up (no dbdef reloading)
-rw-r--r--FS/FS/UID.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm
index d34d28e..87830cb 100644
--- a/FS/FS/UID.pm
+++ b/FS/FS/UID.pm
@@ -92,6 +92,7 @@ sub forksuidsetup {
foreach ( keys %callback ) {
&{$callback{$_}};
+ delete $callback{$_}; #run once
}
$dbh;
@@ -255,7 +256,7 @@ coderef into the hash %FS::UID::callback :
=head1 VERSION
-$Id: UID.pm,v 1.14 2002-02-23 07:00:21 ivan Exp $
+$Id: UID.pm,v 1.15 2002-06-14 09:19:33 ivan Exp $
=head1 BUGS