File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
api/ruby/find-inactive-members Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -176,10 +176,6 @@ def member_activity
176
176
member_detail = "#{ member [ :login ] } <#{ member [ :email ] unless member [ :email ] . nil? } >"
177
177
info "#{ member_detail } is inactive\n "
178
178
csv << [ member_detail ]
179
- if false # ARGV[2] == "purge"
180
- info "removing #{ member [ :login ] } \n "
181
- @client . remove_organization_member ( ORGANIZATION , member [ :login ] )
182
- end
183
179
end
184
180
end
185
181
end
@@ -202,10 +198,6 @@ def member_activity
202
198
options [ :organization ] = o
203
199
end
204
200
205
- opts . on ( '-p' , '--purge' , "Purge the inactive members (WARNING - DESTRUCTIVE!)" ) do |p |
206
- options [ :purge ] = p
207
- end
208
-
209
201
opts . on ( '-v' , '--verbose' , "More output to STDERR" ) do |v |
210
202
@debug = true
211
203
options [ :verbose ] = v
You can’t perform that action at this time.
0 commit comments