public static function clearTags() { \Scalr::getDb()->Execute('DELETE FROM tags WHERE id NOT IN(SELECT tag_id FROM tag_link GROUP BY tag_id)'); }