From d69a101c0416a09ad6528ba318f0baaa95ba44f2 Mon Sep 17 00:00:00 2001
From: Daira Hopwood <daira@jacaranda.org>
Date: Tue, 13 Oct 2015 15:55:00 +0100
Subject: [PATCH] Restore a call to increment files_uploaded that was
 mistakenly removed.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---
 src/allmydata/frontends/magic_folder.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py
index 52b305c3..e8572d05 100644
--- a/src/allmydata/frontends/magic_folder.py
+++ b/src/allmydata/frontends/magic_folder.py
@@ -357,6 +357,7 @@ class Uploader(QueueMixin):
                     last_downloaded_uri = metadata.get('last_downloaded_uri', None)
                     last_downloaded_timestamp = now
                     self._db.did_upload_version(relpath_u, version, filecap, last_downloaded_uri, last_downloaded_timestamp, pathinfo)
+                    self._count('files_uploaded')
                 d2.addCallback(add_db_entry)
                 return d2
             else:
-- 
2.45.2