← Back to team overview

mahara-contributors team mailing list archive

[Bug 1836977] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10190
Committed: https://git.mahara.org/mahara/mahara/commit/b065250f2d1b0811bcc1f7bc5c91b223f943915f
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    19.04_STABLE

commit b065250f2d1b0811bcc1f7bc5c91b223f943915f
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Jul 18 11:41:31 2019 +1200

Bug 1836977: Isolated institutions to respect 'nobody' message setting

if a user sets their message preference to 'nobody' then we shouldn't
display the message icon

behatnotneeded

Change-Id: Ie60f964ffaa4359f58c69769a7814d058179533b
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit e81ad261d54c386ae9267b59d23373e13bfa8fd9)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1836977

Title:
  Should not display message link when messages set to 'nobody' and
  isolated institutions set

Status in Mahara:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed

Bug description:
  If a user sets their message preference to 'nobody' then we shouldn't
  display the message icon on their profile page

  To test:

  Have some users in the same institution and have one of them set their account preference for messages to nobody
  Turn on isolated institutions via $cfg->isolatedinstitutions = true; in config.php 
  Log in as another member of the institution and view the profile pages of other users - the one with 'nobody' for message preference should not show the message icon/link

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1836977/+subscriptions


References