pref-filters: disable rescore all feeds button unless feed debugging is enabled
This commit is contained in:
parent
90ef9c7da3
commit
fe1c99af3a
|
@ -320,8 +320,10 @@
|
||||||
print "<button onclick=\"return removeSelectedFilters()\">".
|
print "<button onclick=\"return removeSelectedFilters()\">".
|
||||||
__('Remove')."</button> ";
|
__('Remove')."</button> ";
|
||||||
|
|
||||||
print "<button onclick=\"rescore_all_feeds()\">".
|
if (defined('_ENABLE_FEED_DEBUGGING')) {
|
||||||
__('Rescore articles')."</button> ";
|
print "<button onclick=\"rescore_all_feeds()\">".
|
||||||
|
__('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 New Issue