WebGUI 3.6.2 release
This commit is contained in:
parent
6c593771e1
commit
a389e8ff95
9 changed files with 127 additions and 65 deletions
|
|
@ -23,6 +23,7 @@ use WebGUI::URL;
|
|||
#-------------------------------------------------------------------
|
||||
sub _deleteReplyTree {
|
||||
my ($sth, %data, $messageId);
|
||||
tie %data, 'Tie::CPHash';
|
||||
$sth = WebGUI::SQL->read("select messageId from discussion where pid=$_[0] order by messageId");
|
||||
while (%data = $sth->hash) {
|
||||
_deleteReplyTree($data{messageId});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue