[Pkg-mozext-commits] [greasemonkey] 01/06: Correctly remove path of deleted db file from the queue.

David Prévot taffit at moszumanska.debian.org
Mon Jan 13 01:12:29 UTC 2014


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit c958cba198f9d95015dffb88484f94a6d2affe16
Author: Ventero <ventero at ventero.de>
Date:   Wed Dec 18 01:36:57 2013 +0100

    Correctly remove path of deleted db file from the queue.
    
    Fixes #1833.
---
 modules/util/enqueueRemoveFile.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/util/enqueueRemoveFile.js b/modules/util/enqueueRemoveFile.js
index 21661d9..8bc37fa 100644
--- a/modules/util/enqueueRemoveFile.js
+++ b/modules/util/enqueueRemoveFile.js
@@ -17,7 +17,7 @@ function removeEnqueuedPath(aPath) {
   var paths = getEnqueuedPaths();
   do {
     var i = paths.indexOf(aPath);
-    if (i != -1) paths.slice(i, 1);
+    if (i != -1) paths.splice(i, 1);
   } while (i != -1);
   GM_prefRoot.setValue('enqueuedRemovals', JSON.stringify(paths));
 }

-- 
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