Tatsuki SUGIURA
sugi****@users*****
2006年 7月 12日 (水) 20:41:38 JST
Index: slashjp/Slash/DB/DB.pm diff -u slashjp/Slash/DB/DB.pm:1.3 slashjp/Slash/DB/DB.pm:1.4 --- slashjp/Slash/DB/DB.pm:1.3 Fri Dec 31 21:35:44 2004 +++ slashjp/Slash/DB/DB.pm Wed Jul 12 20:41:38 2006 @@ -1,7 +1,7 @@ # This code is a part of Slash, and is released under the GPL. -# Copyright 1997-2004 by Open Source Development Network. See README +# Copyright 1997-2005 by Open Source Technology Group. See README # and COPYING for more information, or see http://slashcode.com/. -# $Id: DB.pm,v 1.3 2004/12/31 12:35:44 oliver Exp $ +# $Id: DB.pm,v 1.4 2006/07/12 11:41:38 sugi Exp $ package Slash::DB; @@ -10,7 +10,7 @@ use Slash::DB::Utility; use vars qw($VERSION); -($VERSION) = ' $Revision: 1.3 $ ' =~ /\$Revision:\s+([^\s]+)/; +($VERSION) = ' $Revision: 1.4 $ ' =~ /\$Revision:\s+([^\s]+)/; # FRY: Would you cram a sock in it, Bender? @@ -41,9 +41,9 @@ $self->sqlConnect(); return $self; } elsif ($dsn) { - die "Database $dsn unsupported! (virtual user: $user)"; + die "Database $dsn unsupported! (virtual user '$user')"; } else { - die "DBIx::Password returned *nothing* for virtual user $user DSN (is the username correct?)"; + die "DBIx::Password has no information about the virtual user '$user'. Most likely either you mistyped it (maybe in slash.sites or your SlashVirtualUser directive?), or DBIx::Password is misconfigured somehow"; } } @@ -895,28 +895,6 @@ =back -=head2 deleteAuthor(KEY) - -I am the default documentation, short and stout. - -=over 4 - -=item Parameters - -=over 4 - -=item KEY - -Key, as in the KEY - -=back - -=item Return value - -Fixed KEY. - -=back - =head2 deleteTopic(KEY) I am the default documentation, short and stout.