mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Forum plugin - now deletes poll when topic is deleted
This commit is contained in:
@@ -1756,7 +1756,7 @@ class e107forum
|
||||
if ($threadInfo = $this->threadGet($threadId))
|
||||
{
|
||||
// delete poll if there is one
|
||||
$sql->delete('poll', 'poll_datestamp='.$threadId);
|
||||
$sql->delete('polls', 'poll_datestamp='.$threadId);
|
||||
|
||||
//decrement user post counts
|
||||
if ($postCount = $this->threadGetUserPostcount($threadId))
|
||||
|
Reference in New Issue
Block a user