Update of /cvsroot/sandweb/sandweb/lib/SandWeb
In directory usw-pr-cvs1:/tmp/cvs-serv4653/lib/SandWeb
Modified Files:
File.pm
Log Message:
disabled logging in _delete_tree method until i can figure out what's
wrong.
Index: File.pm
===================================================================
RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/File.pm,v
retrieving revision 1.47
retrieving revision 1.48
diff -U2 -r1.47 -r1.48
--- File.pm 2 Mar 2002 07:20:14 -0000 1.47
+++ File.pm 4 Mar 2002 06:44:46 -0000 1.48
@@ -257,5 +257,5 @@
'filename' => "$filename",
'contents' => "$contents",
- 'log_obj' => $log,
+ 'log_obj' => "$log",
);
} else {
@@ -441,10 +441,14 @@
$return = rmdir("$location/$filename/$file");
unless ($return) {
- $log->debug("error deleting dir $location/$filename/$file: $!");
+#
+# XXX - log not working here
+# $log->debug("error deleting dir $location/$filename/$file: $!");
}
} else {
$return = unlink("$location/$filename/$file");
unless ($return) {
- $log->debug("error deleting file $location/$filename/$file: $!");
+#
+# XXX - log not working here
+# $log->debug("error deleting file $location/$filename/$file: $!");
}
}
@@ -452,5 +456,7 @@
$return = rmdir("$location/$filename");
unless ($return) {
- $log->debug("error deleting dir $location/$filename/$file: $!");
+#
+# XXX - log not working here
+# $log->debug("error deleting dir $location/$filename/$file: $!");
}
}
|