You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/12/16 02:23:07 UTC

[whimsy] branch master updated: zap some code that is no longer necessary

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  183b63a   zap some code that is no longer necessary
183b63a is described below

commit 183b63a9db48c79c5d9202b4e15b959e0f7c8648
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu Dec 15 21:22:06 2016 -0500

    zap some code that is no longer necessary
---
 lib/whimsy/asf/rack.rb | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/whimsy/asf/rack.rb b/lib/whimsy/asf/rack.rb
index 1521cde..106e1ab 100644
--- a/lib/whimsy/asf/rack.rb
+++ b/lib/whimsy/asf/rack.rb
@@ -61,12 +61,6 @@ module ASF
         authorized ||= ASF.pmc_chairs.include? person
         authorized ||= @block.call(env) if @block
 
-        if not authorized
-          accounting = ASF::Authorization.new('pit').
-            find {|group, list| group=='accounting'}
-          authorized = (accounting and accounting.last.include? env.user)
-        end
-
         if authorized
           @app.call(env)
         else

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].