aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-01 00:37:01 +0100
committerMax Kellermann <max@duempel.org>2014-02-01 00:37:01 +0100
commit636d28b784def19149f502daa3f7fee182669782 (patch)
treeea56050b08cbfca9068e2fd5f83ee3b1485da959
parent188783ac1a3677942a02aa79cdafd2c998a14cef (diff)
downloadmpd-636d28b784def19149f502daa3f7fee182669782.tar.gz
mpd-636d28b784def19149f502daa3f7fee182669782.tar.xz
mpd-636d28b784def19149f502daa3f7fee182669782.zip
Stats: remove obsolete "simple" plugin special case
The proxy plugin has now implemented the "idle" event listener.
-rw-r--r--src/Stats.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx
index 53cb02c81..4ff87e1d8 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -24,7 +24,6 @@
#include "db/Selection.hxx"
#include "db/DatabaseGlue.hxx"
#include "db/DatabasePlugin.hxx"
-#include "db/DatabaseSimple.hxx"
#include "util/Error.hxx"
#include "system/Clock.hxx"
#include "Log.hxx"
@@ -99,13 +98,6 @@ db_stats_print(Client &client)
{
assert(GetDatabase() != nullptr);
- if (!db_is_simple())
- /* reload statistics if we're using the "proxy"
- database plugin */
- /* TODO: move this into the "proxy" database plugin as
- an "idle" handler */
- stats_invalidate();
-
if (!stats_update())
return;