после
$this->inDB->query("DELETE FROM cms_subscribe WHERE user_id = '$user_id'");
$this->inDB->query("DELETE FROM cms_forum_posts WHERE user_id = '$user_id'"); $this->inDB->query("DELETE FROM cms_forum_threads WHERE user_id = '$user_id'"); $this->inDB->query("DELETE FROM cms_actions_log WHERE user_id = '$user_id'");