From ee59a4bade345d5dec1b5076c68e85df6faabe6d Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 25 Jul 2006 23:12:46 +0000 Subject: [PATCH] remove debugging output --- lib/WebGUI/Macro/FileUrl.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/WebGUI/Macro/FileUrl.pm b/lib/WebGUI/Macro/FileUrl.pm index 869d0eae7..c1426172b 100644 --- a/lib/WebGUI/Macro/FileUrl.pm +++ b/lib/WebGUI/Macro/FileUrl.pm @@ -45,17 +45,14 @@ sub process { my $asset = WebGUI::Asset->newByUrl($session,$url); my $i18n = WebGUI::International->new($session, 'Macro_FileUrl'); if (not defined $asset) { - $session->errorHandler->warn("^FileUrl($url): asset not found"); return $i18n->get('invalid url'); } my $storageId = $asset->get('storageId'); if (not defined $storageId) { - $session->errorHandler->warn("^FileUrl($url): asset does not store files"); return $i18n->get('no storage'); } my $filename = $asset->get('filename'); if (not defined $filename) { - $session->errorHandler->warn("^FileUrl($url): asset does not have a 'filename' property"); return $i18n->get('no filename'); } my $storage = WebGUI::Storage->get($session,$storageId);