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
commit8d7492d12eca69a9949896c335aa31aedc8cc109 (patch)
treecb5904e45625b4ba29d6f48a1a696844efb96f15
parentAdd an update util for triggering database updates (diff)
downloadgentoobrowse-api-8d7492d12eca69a9949896c335aa31aedc8cc109.tar.bz2
gentoobrowse-api-8d7492d12eca69a9949896c335aa31aedc8cc109.tar.xz
gentoobrowse-api-8d7492d12eca69a9949896c335aa31aedc8cc109.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();
}
}
}