summaryrefslogtreecommitdiff
path: root/src/Instance.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-11 00:46:26 +0100
committerMax Kellermann <max@duempel.org>2014-01-11 00:46:33 +0100
commit3f0415fa24efdb3b5c7df1acfa38cfe78b3a00a3 (patch)
treee7f84a924c53094094d7f5a76e435e27a11a46ab /src/Instance.cxx
parent348d0c944e92e8dfb361190b97a168f27a7333b8 (diff)
UpdateGlue: move stats_invalidate() call to Instance::DatabaseModified()
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r--src/Instance.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx
index a033ed82f..4fe399a2d 100644
--- a/src/Instance.cxx
+++ b/src/Instance.cxx
@@ -21,6 +21,7 @@
#include "Instance.hxx"
#include "Partition.hxx"
#include "Idle.hxx"
+#include "Stats.hxx"
void
Instance::DeleteSong(const char *uri)
@@ -31,6 +32,7 @@ Instance::DeleteSong(const char *uri)
void
Instance::DatabaseModified()
{
+ stats_invalidate();
partition->DatabaseModified();
idle_add(IDLE_DATABASE);
}