diff options
author | Max Kellermann <max@duempel.org> | 2014-01-11 00:46:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-11 00:46:33 +0100 |
commit | 3f0415fa24efdb3b5c7df1acfa38cfe78b3a00a3 (patch) | |
tree | e7f84a924c53094094d7f5a76e435e27a11a46ab /src/Instance.cxx | |
parent | 348d0c944e92e8dfb361190b97a168f27a7333b8 (diff) |
UpdateGlue: move stats_invalidate() call to Instance::DatabaseModified()
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r-- | src/Instance.cxx | 2 |
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); } |