[LON-CAPA-cvs] cvs: loncom /interface portfolio.pm
banghart
lon-capa-cvs@mail.lon-capa.org
Thu, 16 Dec 2004 21:19:47 -0000
banghart Thu Dec 16 16:19:47 2004 EDT
Modified files:
/loncom/interface portfolio.pm
Log:
Remove "logthis" debugging stuff.
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.67 loncom/interface/portfolio.pm:1.68
--- loncom/interface/portfolio.pm:1.67 Tue Dec 14 14:17:54 2004
+++ loncom/interface/portfolio.pm Thu Dec 16 16:19:46 2004
@@ -148,9 +148,6 @@
my $iconpath= $r->dir_config('lonIconsURL') . "/";
my $display_out;
my $checked_files = &Apache::lonnet::files_in_path($ENV{'user.name'}, $ENV{'form.currentpath'});
- foreach my $key (keys %$checked_files) {
- &Apache::lonnet::logthis("a key is $key $$checked_files{$key} is the value");
- }
if ($is_empty && ($current_path ne '/')) {
$display_out = '<form method="post" action="/adm/portfolio">'.
'<input type="hidden" name="action" value="deletedir" />'.
@@ -188,9 +185,6 @@
$r->print('<td><input type="checkbox" name="selectfile" value="'.$filename.'"');
if ($$checked_files{$filename} eq 'selected') {
$r->print("CHECKED");
- &Apache::lonnet::logthis("checked");
- } else {
- &Apache::lonnet::logthis("not checked $$checked_files{$filename} $filename");
}
$r->print('></td>');
$r->print('<td><img src="'.$iconpath.'unknown.gif"></td>');
@@ -291,7 +285,6 @@
my @files=&Apache::loncommon::get_env_multiple('form.selectfile');
my $result;
foreach my $delete_file (@files) {
- &Apache::lonnet::logthis("trying to delete $delete_file");
$result=&Apache::lonnet::removeuserfile($ENV{'user.name'},
$ENV{'user.domain'},'portfolio'.
$ENV{'form.currentpath'}.