whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Copy-paste error
Date Thu, 01 Jun 2017 11:21:08 GMT
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  6974b81   Copy-paste error
6974b81 is described below

commit 6974b81addde5418576836bf22a2fd9809d03b26
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Jun 1 12:21:06 2017 +0100

    Copy-paste error
---
 lib/whimsy/asf/ldap.rb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index c48b2df..bfe2df2 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -753,10 +753,10 @@ module ASF
       owners.map {|uid| Person.find uid[/uid=(.*?),/,1]}
     end
 
-    # remove people from a project
-    def add(people)
-      add_owners(people)
-      add_members(people)
+    # remove people from a project as owners and members
+    def remove(people)
+      remove_owners(people)
+      remove_members(people)
     end
 
     # remove people as owners project
@@ -781,7 +781,7 @@ module ASF
       @members = nil
     end
 
-    # add people to a project
+    # add people to a project as members and owners
     def add(people)
       add_owners(people)
       add_members(people)

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

Mime
View raw message