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/21 15:29:45 UTC

incubator-ponymail git commit: Revert 4361f5e668ef222e7827813eff514c0d17994f21 - no needed any more

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master f6fe0235d -> f31d87718


Revert 4361f5e668ef222e7827813eff514c0d17994f21 - no needed any more

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

Branch: refs/heads/master
Commit: f31d877188fe3072a8104d548594958fdf16e1de
Parents: f6fe023
Author: Sebb <se...@apache.org>
Authored: Mon Nov 21 15:29:38 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Mon Nov 21 15:29:38 2016 +0000

----------------------------------------------------------------------
 site/api/stats.lua | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/f31d8771/site/api/stats.lua
----------------------------------------------------------------------
diff --git a/site/api/stats.lua b/site/api/stats.lua
index 580b10a..854d950 100644
--- a/site/api/stats.lua
+++ b/site/api/stats.lua
@@ -691,7 +691,6 @@ function handle(r)
                     table.insert(threads, emails[mid])
                 end
                 if not statsOnly then
-                    email.body = (email.body ~= JSON.null) and email.body or ""
                     threads[#threads].body = #email.body < 300 and email.body or email.body:sub(1,300) .. "..."
                 end
             end