For some unknow reason, in 4.2 with the Navigation Manager if you delete a item, it leaves behind the record in the navigation table and in the phrase table.
I have found a way to delete the record in the navigation table by adding this code via a plugin to the navigation_admin_dodelete hook.
PHP Code:
if ($_REQUEST['do'] == 'dodelete')
{
$vbulletin->input->clean_array_gpc('r', array(
'navid' => TYPE_UINT,
'tabid' => TYPE_UINT
));
$db->query_write("
DELETE FROM " . TABLE_PREFIX . "navigation
WHERE navid = " . $navelement['navid'] . "
");
}
But I have not been able to come up with a way to delete the phrase record, if anybody can help me out it would be greatly appreciated.
Thanks