Refactor entryController

- Coding style
- Refactoring
- Comments (set of TODO)

See https://github.com/marienfressinaud/FreshRSS/issues/655
This commit is contained in:
Marien Fressinaud committed 2014-10-06 11:59:27 +02:00
1 parent 031c1d802d
commit d65a9f9bd6
2 files changed
+117 -80

No files matched your search

+1 -1
View File
@@ -332,7 +332,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
}
if ($feed_history >= 0 && rand(0, 30) === 1) {
// TODO: move this function in web cron when available
// TODO: move this function in web cron when available (see entry::purge)
// Remove old entries once in 30.
if (!$feedDAO->hasTransaction()) {
$feedDAO->beginTransaction();