From 6f59dc35ffde9f7e7e7be64a533f1ad7f424b230 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 13 Apr 2017 18:31:03 +0100 Subject: Simplify auto update task --- gentoobrowse-api/service/maintenanceCommon.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gentoobrowse-api/service/maintenanceCommon.cpp b/gentoobrowse-api/service/maintenanceCommon.cpp index 34a69a3..4085e85 100644 --- a/gentoobrowse-api/service/maintenanceCommon.cpp +++ b/gentoobrowse-api/service/maintenanceCommon.cpp @@ -18,8 +18,7 @@ namespace Gentoo { m->ice_ping(); auto rb = m->begin_refreshBugs(); m->updateRepositories(); - auto rptg = m->begin_refreshPackageTreeGit(); - m->end_refreshPackageTreeGit(rptg); + m->refreshPackageTreeGit(); m->sendNotifications(); m->end_refreshBugs(rb); } -- cgit v1.2.3