pref-filters: disable rescore all feeds button unless feed debugging is enabled

This commit is contained in:
Andrew Dolgov 2010-11-10 11:49:31 +03:00
parent 90ef9c7da3
commit fe1c99af3a
1 changed files with 4 additions and 2 deletions

View File

@ -320,8 +320,10 @@
print "<button onclick=\"return removeSelectedFilters()\">".
__('Remove')."</button> ";
if (defined('_ENABLE_FEED_DEBUGGING')) {
print "<button onclick=\"rescore_all_feeds()\">".
__('Rescore articles')."</button> ";
}
if ($filter_search) {
$filter_search = split(' ', db_escape_string($filter_search));