if ($post['hidepost'] AND can_moderate()){ // remove entry of moderation queue $vbulletin->db->query_write(" DELETE FROM " . TABLE_PREFIX . "moderation WHERE postid = " . $post[postid] . " ");}