You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/03/07 12:48:10 UTC
[whimsy] branch master updated: Not used anywhere; anyway obsolete
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 34fa062 Not used anywhere; anyway obsolete
34fa062 is described below
commit 34fa062a242d73479b646b5aaa5d18fbadb690f0
Author: Sebb <se...@apache.org>
AuthorDate: Thu Mar 7 12:48:09 2019 +0000
Not used anywhere; anyway obsolete
---
lib/whimsy/asf/auth.rb | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/lib/whimsy/asf/auth.rb b/lib/whimsy/asf/auth.rb
index 32dd2bf..5d94706 100644
--- a/lib/whimsy/asf/auth.rb
+++ b/lib/whimsy/asf/auth.rb
@@ -78,17 +78,4 @@ module ASF
end
end
- class Group
- # does this group use ou=project?
- def usesproject?
- @usesproject ||= ASF::Authorization.new('asf').projects.include?(name)
- end
- end
-
- class Committee
- # does this committee use ou=project?
- def usesproject?
- @usesproject ||= ASF::Authorization.new('pit').projects.include?(name)
- end
- end
end