removed some unncessary code
This commit is contained in:
parent
974a7a302e
commit
b2062d8cca
1 changed files with 0 additions and 4 deletions
|
|
@ -374,10 +374,6 @@ sub search {
|
||||||
sub showMessage {
|
sub showMessage {
|
||||||
my (@data, $html, %message, $sqlAdd);
|
my (@data, $html, %message, $sqlAdd);
|
||||||
tie %message, 'Tie::CPHash';
|
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}) {
|
if ($session{form}{sid}) {
|
||||||
$sqlAdd = " and subId=$session{form}{sid}";
|
$sqlAdd = " and subId=$session{form}{sid}";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue