--- loncom/interface/lonindexer.pm 2003/01/09 22:04:28 1.54 +++ loncom/interface/lonindexer.pm 2003/01/14 18:47:50 1.55 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.54 2003/01/09 22:04:28 www Exp $ +# $Id: lonindexer.pm,v 1.55 2003/01/14 18:47:50 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -920,7 +920,12 @@ sub setvalues { 1; sub cleanup { - untie(%hash) if (tied(%hash)); + if (tied(%hash)){ + &Apache::lonnet::logthis('Cleanup indexer: hash'); + unless (untie(%hash)) { + &Apache::lonnet::logthis('Failed cleanup indexer: hash'); + } + } } =head1 NAME