[Pkg-mozext-commits] [greasemonkey] 17/55: Fix stats reporting for scripts.

David Prévot taffit at moszumanska.debian.org
Thu Oct 29 15:38:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository greasemonkey.

commit 182a3091f7d5501835027aaf72878f885db44dbc
Author: Anthony Lieuallen <arantius at gmail.com>
Date:   Wed Sep 23 10:28:24 2015 -0400

    Fix stats reporting for scripts.
---
 modules/stats.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stats.js b/modules/stats.js
index 7a46f63..e2cab16 100644
--- a/modules/stats.js
+++ b/modules/stats.js
@@ -108,7 +108,7 @@ function getStatsObj() {
 
   var scripts = GM_util.getService().config.scripts;
   for (var i = 0, script = null; script = scripts[i]; i++) {
-    var valueStats = GM_ScriptStorageBack(script).getStats();
+    var valueStats = new GM_ScriptStorageBack(script).getStats();
 
     var downloadUri = GM_util.uriFromUrl(script.downloadURL);
     var domain = null;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git



More information about the Pkg-mozext-commits mailing list