You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/11/01 17:37:10 UTC

incubator-ponymail git commit: Unused requires; fix comment

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 4e4266b6b -> 4f58b0977


Unused requires; fix comment

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/4f58b097
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/4f58b097
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/4f58b097

Branch: refs/heads/master
Commit: 4f58b097785c5cf9384bdc44a9f8324a22422e7a
Parents: 4e4266b
Author: Sebb <se...@apache.org>
Authored: Tue Nov 1 17:36:58 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Tue Nov 1 17:36:58 2016 +0000

----------------------------------------------------------------------
 site/api/mbox.lua | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/4f58b097/site/api/mbox.lua
----------------------------------------------------------------------
diff --git a/site/api/mbox.lua b/site/api/mbox.lua
index ed6f51d..8a629d0 100644
--- a/site/api/mbox.lua
+++ b/site/api/mbox.lua
@@ -17,10 +17,7 @@
 
 -- This is mbox.lua - a script for generating mbox archives
 
-local JSON = require 'cjson'
 local elastic = require 'lib/elastic'
-local aaa = require 'lib/aaa'
-local user = require 'lib/user'
 local cross = require 'lib/cross'
 
 local days = {
@@ -64,7 +61,7 @@ function handle(r)
             d = days[m]
         end
         
-        -- fetch all results from the list (up to 20k results), make sure to get the 'private' element
+        -- fetch all results from the list (up to 10k results), make sure to get the 'private' element
         local docs = elastic.raw {
             _source = {'mid','private'},
             query = {