Skip to content

Commit

Permalink
ttrss_gc: return true
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Dolgov committed Dec 7, 2015
1 parent 040aa54 commit 33d131d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/sessions.php
Original file line number Diff line number Diff line change
@@ -119,6 +119,8 @@ function ttrss_destroy($id) {

function ttrss_gc ($expire) {
Db::get()->query("DELETE FROM ttrss_sessions WHERE expire < " . time());

return true;
}

if (!SINGLE_USER_MODE /* && DB_TYPE == "pgsql" */) {

0 comments on commit 33d131d

Please sign in to comment.