summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-05-27 19:22:36 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-05-27 19:22:36 +0100
commitbea14ae389e33626683dec29226065824831b1bb (patch)
treecb5904e45625b4ba29d6f48a1a696844efb96f15
parentAdd an update util for triggering database updates (diff)
downloadgentoobrowse-api-bea14ae389e33626683dec29226065824831b1bb.tar.bz2
gentoobrowse-api-bea14ae389e33626683dec29226065824831b1bb.tar.xz
gentoobrowse-api-bea14ae389e33626683dec29226065824831b1bb.zip
Empty the right table on masks removal
-rw-r--r--gentoobrowse-api/service/maintenance/masksProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/maintenance/masksProcessor.cpp b/gentoobrowse-api/service/maintenance/masksProcessor.cpp
index 225ccb8..0bed3be 100644
--- a/gentoobrowse-api/service/maintenance/masksProcessor.cpp
+++ b/gentoobrowse-api/service/maintenance/masksProcessor.cpp
@@ -103,7 +103,7 @@ namespace Gentoo {
void
MasksProcessor::deleted(DB::Connection * dbc, const boost::filesystem::path &)
{
- dbc->modify("DELETE FROM gentoobrowse.use_local")->execute();
+ dbc->modify("DELETE FROM gentoobrowse.masksets")->execute();
}
}
}