diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-04-13 18:31:03 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-04-13 18:31:03 +0100 |
commit | 6f59dc35ffde9f7e7e7be64a533f1ad7f424b230 (patch) | |
tree | 3398c8fb0a5e628257a90b6430fe7034220d5598 | |
parent | Initialize git library once on startup (diff) | |
download | gentoobrowse-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.cpp | 3 |
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); } |