dcCore dcCore instance * @param get array cleaned $_GET */ public static function getSpamsCount($core, $get) { $count = dcAntispam::countSpam($core); if ($count > 0) { $str = sprintf(($count > 1) ? __('(including %d spam comments)') : __('(including %d spam comment)'), $count); } else { $str = ''; } $rsp = new xmlTag('count'); $rsp->ret = $str; return $rsp; } }