]> git.wh0rd.org - tt-rss.git/commitdiff
reenable autolearn as good
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 17 Jun 2015 12:18:07 +0000 (15:18 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 17 Jun 2015 12:18:07 +0000 (15:18 +0300)
plugins/af_sort_bayes/init.php

index 23f38ec25df97778b0ba9f1d8e8b3e5fa9e6ef20..e7822c23e836749d4cbf5b359cd09900c7a31815 100644 (file)
@@ -179,7 +179,7 @@ class Af_Sort_Bayes extends Plugin {
                                        $prob_neutral = $result[$id_neutral];
 
                                        if ($prob_good > 0.90 && $prob_good > $prob_neutral) {
-                                               //$dst_category = $id_good; // should we autofile as good or not? idk
+                                               $dst_category = $id_good; // should we autofile as good or not? idk
                                                $article["score_modifier"] += $this->score_modifier;
                                        }
                                }