--- loncom/interface/loncommon.pm 2013/01/09 16:33:56 1.1075.2.27 +++ loncom/interface/loncommon.pm 2013/01/15 18:48:17 1.1075.2.28 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1075.2.27 2013/01/09 16:33:56 raeburn Exp $ +# $Id: loncommon.pm,v 1.1075.2.28 2013/01/15 18:48:17 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -11605,7 +11605,7 @@ sub cleanup_empty_dirs { my $numitems = 0; foreach my $item (@dircontents) { if (-d "$path/$item") { - &recurse_dirs("$path/$item"); + &cleanup_empty_dirs("$path/$item"); if (-e "$path/$item") { $numitems ++; }