don't need redundant staff check for discussion
[fsfdrupalauth.git] / lib / Auth / Source / FSFDrupalAuth.php
index 46ad5d4e9a925210c1ca7cf6a9b3bbdd4c70ed48..5de80d902c5a5c283846f6e3940283c13e57838c 100644 (file)
@@ -528,10 +528,6 @@ class FSFDrupalAuth extends \SimpleSAML\Module\core\Auth\UserPassBase
                Logger::debug('fsfdrupalauth:'.$this->authId.': In adhoc list of contacts for discussion board process');
                $attributes['discussion_process'] = ['true'];
 
-       } elseif ($attributes['is_fsf_staff'] == ['true']) {
-               Logger::debug('fsfdrupalauth:'.$this->authId.': Is staff, so can access discussion board process');
-               $attributes['discussion_process'] = ['true'];
-
        } elseif ($attributes['is_member'] != ['true']) {
                Logger::debug('fsfdrupalauth :'.$this->authId.': Not a member, so not eligible for board nominee discussion process.');
                $attributes['discussion_process'] = ['false'];