removed some unncessary code

This commit is contained in:
JT Smith 2003-01-07 04:13:08 +00:00
parent 974a7a302e
commit b2062d8cca

View file

@ -374,10 +374,6 @@ sub search {
sub showMessage {
my (@data, $html, %message, $sqlAdd);
tie %message, 'Tie::CPHash';
if ($session{form}{mid} eq "") {
($session{form}{mid}) = WebGUI::SQL->quickArray("select min(messageId) from discussion
where wobjectId=$session{form}{wid}");
}
if ($session{form}{sid}) {
$sqlAdd = " and subId=$session{form}{sid}";
}