mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix #1159 Add sort option to spamfilter word list
This commit is contained in:
parent
0a9d34c37f
commit
853d6753eb
3 changed files with 13 additions and 6 deletions
|
|
@ -62,10 +62,10 @@ class spamfilterModel extends spamfilter
|
|||
/**
|
||||
* @brief Return the list of registered Words which were banned
|
||||
*/
|
||||
function getDeniedWordList()
|
||||
function getDeniedWordList($sort_index = 'hit')
|
||||
{
|
||||
$args = new stdClass();
|
||||
$args->sort_index = "hit";
|
||||
$args->sort_index = $sort_index;
|
||||
$output = executeQueryArray('spamfilter.getDeniedWordList', $args);
|
||||
return $output->data ?: array();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue