X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/863abbbee47daf6df718856079cb50833e3552c2..ca9368a1e7bf081def4a83e8ee61717987ae3b64:/modules/Output.pm?ds=inline diff --git a/modules/Output.pm b/modules/Output.pm index ba41e38..eff7459 100644 --- a/modules/Output.pm +++ b/modules/Output.pm @@ -6,7 +6,7 @@ package Output; # HTML generating routines # # Author: Patrick Canterino -# Last modified: 2004-02-23 +# Last modified: 2004-03-12 # use strict; @@ -25,8 +25,7 @@ use base qw(Exporter); @EXPORT = qw(error_template error - abort - error_in_use); + abort); my $tpl_error; @@ -94,22 +93,6 @@ sub abort($;$) exit; } -# error_in_use() -# -# Create a message, which shows, that a -# file is currently in use -# -# Params: File, which is in use -# -# Return: Formatted message (Scalar Reference) - -sub error_in_use($) -{ - my $file = shift; - - return error("The file '".encode_entities($file)."' is currently edited by someone else.",upper_path($file)); -} - # it's true, baby ;-) 1;