Everytime i try to delete a thread i get this message:
Quote:
Fatal error: Call to undefined method vS_HHR_Engine::rebuild_cache() in /home/bigpuny2/public_html/includes/functions_databuild.php on line 1065
|
It must have something to do with the Hide Hack Resurrection mod.
This is my includes/functions_databuild.php, line 1065 is in red:
Quote:
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "thanks WHERE postid IN ($postids" . "0)");
$hhr_res = $vbulletin->db->query_write("SELECT DISTINCT userid FROM " . TABLE_PREFIX . "post WHERE postid IN ($postids" . "0)");
while ($hhr_item = $vbulletin->db->fetch_array($hhr_res))
{
$GLOBALS['hhr']->rebuild_cache('count', $hhr_item['userid']);
}
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "post WHERE postid IN ($postids" . "0)");
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "postparsed WHERE postid IN ($postids" . "0)");
//$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "reputation WHERE postid IN ($postids" . "0)");
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "moderation WHERE type = 'reply' AND primaryid IN ($postids" . "0)");
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "editlog WHERE postid IN ($postids" . "0)");
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "postedithistory WHERE postid IN ($postids" . "0)");
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "deletionlog WHERE type= 'post' AND primaryid IN ($postids" . "0)");
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "podcastitem WHERE postid = " . intval($threadinfo['firstpostid']));
|
Anyone see the problem?