Contao3-Ninja / dlstats

Contao Module dlstats - Counts the number of file downloads
http://contao.ninja/download-statistik-dlstats.html
GNU Lesser General Public License v3.0
4 stars 0 forks source link

[Insight] Commented code should not be commited - in classes/DlstatsHelper.php, line 88 #73

Closed BugBuster1701 closed 9 years ago

BugBuster1701 commented 9 years ago

in classes/DlstatsHelper.php, line 88

Commented out code reduces readability and lowers the code confidence for other developers. If it's common usage for debug, it should not be committed. Using a version control system, such code can be safely removed.

        $this->CheckBE();
        $this->CheckBot();
        $this->setDL_LOG();
        $this->dlstatsSetLang();

        //$this->log("DLSTAT_DEBUG: IPV:".$this->IP_Version." IPF:".(0+$this->IP_Filter)." BEF:".(0 + $this->BE_Filter) ." Bot:".(0+$this->BOT_Filter)."" , "DlstatsHelper", TL_CONFIGURATION );
    }

    /**
     * Set DL_LOG, true: logging OK (default), false not OK
     * 

Hinweis: Da gibt es noch mehr Zeilen die das betreffen. Siehe Analyse.

Posted from SensioLabsInsight