From 6acba7350938c099afab7bec04c8dc9adf674424 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Jan 2009 20:57:06 +0100 Subject: stats: added stats_update() --- src/update.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/update.c') diff --git a/src/update.c b/src/update.c index 8061acafe..6aecd3265 100644 --- a/src/update.c +++ b/src/update.c @@ -32,7 +32,6 @@ #include "idle.h" #include "conf.h" #include "stats.h" -#include "dbUtils.h" #include "main.h" #include @@ -739,8 +738,7 @@ static void update_finished_event(void) } else { progress = UPDATE_PROGRESS_IDLE; - stats.numberOfSongs = countSongsIn(NULL); - stats.dbPlayTime = sumSongTimesIn(NULL); + stats_update(); } } -- cgit v1.2.3