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/12/09 01:39:01 UTC

incubator-ponymail git commit: Unused

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 8a9f98c66 -> 86b7a3d9b


Unused

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

Branch: refs/heads/master
Commit: 86b7a3d9bb17d40ca4552963be8507b40cb42ca7
Parents: 8a9f98c
Author: Sebb <se...@apache.org>
Authored: Fri Dec 9 01:38:38 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Fri Dec 9 01:38:38 2016 +0000

----------------------------------------------------------------------
 site/api/static.lua | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/86b7a3d9/site/api/static.lua
----------------------------------------------------------------------
diff --git a/site/api/static.lua b/site/api/static.lua
index 3a05d07..6068986 100644
--- a/site/api/static.lua
+++ b/site/api/static.lua
@@ -37,19 +37,6 @@ function sortEmail(thread)
     end
 end
 
-function leapYear(year)
-    if (year % 4 == 0) then
-        if (year%100 == 0)then                
-            if (year %400 == 0) then                    
-                return true
-            end
-        else                
-            return true
-        end
-        return false
-    end
-end
-
 function showThreads(r, thread, emails)
     r:puts("<ul>\n")
     for k, v in pairs(thread.children) do