CMS - Plugin Blog uninstall.php

09.10.2016 78
Assigned to: CMS Option: Feedback Status: Open Solution: No From: bluesatkv

Fix bug in Plugin Blog - uninstall.php

$jakdb->query('DELETE FROM tagcloud WHERE tag = "' . smartsql($row['tag']) . '"')
$jakdb->query('DELETE FROM ' . DB_PREFIX . 'tagcloud WHERE tag = "' . smartsql($row['tag']) . '"');

and then

$jakdb->query('UPDATE tagcloud SET count = count - 1 WHERE tag = "' . smartsql($row['tag']) . '"');
$jakdb->query('UPDATE ' . DB_PREFIX . 'tagcloud SET count = count - 1 WHERE tag = "' . smartsql($row['tag']) . '"');

thx

Sign in to see the solution.