pref-filters: disable rescore all feeds button unless feed debugging is enabled
This commit is contained in:
parent
90ef9c7da3
commit
fe1c99af3a
1 changed files with 4 additions and 2 deletions
|
@ -320,8 +320,10 @@
|
||||||
print "<button onclick=\"return removeSelectedFilters()\">".
|
print "<button onclick=\"return removeSelectedFilters()\">".
|
||||||
__('Remove')."</button> ";
|
__('Remove')."</button> ";
|
||||||
|
|
||||||
|
if (defined('_ENABLE_FEED_DEBUGGING')) {
|
||||||
print "<button onclick=\"rescore_all_feeds()\">".
|
print "<button onclick=\"rescore_all_feeds()\">".
|
||||||
__('Rescore articles')."</button> ";
|
__('Rescore articles')."</button> ";
|
||||||
|
}
|
||||||
|
|
||||||
if ($filter_search) {
|
if ($filter_search) {
|
||||||
$filter_search = split(' ', db_escape_string($filter_search));
|
$filter_search = split(' ', db_escape_string($filter_search));
|
||||||
|
|
Loading…
Reference in a new issue