X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSiteStatsInit.php;h=8adb2181eaaa1e293a911e111f3a2399bbf1e5d2;hb=c698e1bd9158643f48f1ff65a0f0c7a39c16924f;hp=f527cb226b41fe06afcbb45613e40cdc568a146f;hpb=8624538de243da3779db5eb3362bedf78d2e2931;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SiteStatsInit.php b/includes/SiteStatsInit.php index f527cb226b..8adb2181ea 100644 --- a/includes/SiteStatsInit.php +++ b/includes/SiteStatsInit.php @@ -79,13 +79,6 @@ class SiteStatsInit { if ( $config->get( 'ArticleCountMethod' ) == 'link' ) { $tables[] = 'pagelinks'; $conds[] = 'pl_from=page_id'; - } elseif ( $config->get( 'ArticleCountMethod' ) == 'comma' ) { - // To make a correct check for this, we would need, for each page, - // to load the text, maybe uncompress it, maybe decode it and then - // check if there's one comma. - // But one thing we are sure is that if the page is empty, it can't - // contain a comma :) - $conds[] = 'page_len > 0'; } $this->articles = $this->dbr->selectField(