ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: Unused
Date Fri, 09 Dec 2016 01:39:01 GMT
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 <sebb@apache.org>
Authored: Fri Dec 9 01:38:38 2016 +0000
Committer: Sebb <sebb@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


Mime
View raw message