From 723e0e7f37636379f76008582dca459490b845f4 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Thu, 4 Apr 2013 00:25:54 +0200 Subject: add login support --- fetchforumsaction.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fetchforumsaction.cpp') diff --git a/fetchforumsaction.cpp b/fetchforumsaction.cpp index 53f1f12..c3b77cd 100644 --- a/fetchforumsaction.cpp +++ b/fetchforumsaction.cpp @@ -78,6 +78,8 @@ void FetchForumsAction::handleFinishedCall() _board->setConfig("last_forums_fetch", QDateTime::currentDateTimeUtc().toString(Qt::ISODate)); + _board->setConfig("last_forums_fetch_logged_in", + _board->loggedIn() ? "1" : "0"); db.commit(); _board->notifyForumsChanged(); } else { -- cgit v1.2.3