Install Code for new Version (I'd suggest to remove the old Install Code)
PHP Code:
$db->hide_errors();
$db->query_write("UPDATE " . TABLE_PREFIX . "forum SET replycount=linkhits WHERE link != ''");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum DROP linkhits");
$db->show_errors();
Uninstall-Code
PHP Code:
$db->query_write("UPDATE " . TABLE_PREFIX . "forum SET replycount=0 WHERE link != ''");
Then in the Plugins and Template change all references to linkhits into replycount - Done.
The File-Edit then will not be necessary any longer.