summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-04-13 18:31:03 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-04-13 18:31:03 +0100
commit6f59dc35ffde9f7e7e7be64a533f1ad7f424b230 (patch)
tree3398c8fb0a5e628257a90b6430fe7034220d5598
parentInitialize git library once on startup (diff)
downloadgentoobrowse-api-0.8.1.tar.bz2
gentoobrowse-api-0.8.1.tar.xz
gentoobrowse-api-0.8.1.zip
Simplify auto update taskgentoobrowse-api-0.8.1
-rw-r--r--gentoobrowse-api/service/maintenanceCommon.cpp3
1 files changed, 1 insertions, 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);
}