stable

Clone or download

Read-only

Introduce max_invitations_by_day config variable

This will be used later to limit the number of email the user can send. If the value is less than or equal to 0, then the feature is considered disabled. tuleap config-set enable_invite_buddies 1 => the button is visible (default value for max_invitations_by_day is 20) tuleap config-set max_invitations_by_day 0 => the button is not visible tuleap config-set max_invitations_by_day 1 => the button is visible Part of story #16633: invite buddies to my Tuleap Change-Id: I0222e00559b872bf3b58e2191875a6e96dc76bd2

Modified Files

Name
M src/common/InviteBuddy/InviteBuddyConfiguration.php +16 −1 Go to diff View file
M tests/unit/common/InviteBuddy/InviteBuddyConfigurationTest.php +22 −4 Go to diff View file