← Back to team overview

mahara-contributors team mailing list archive

[Bug 1997906] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/13494
Committed: https://git.mahara.org/mahara/mahara/commit/e1aaa4283f8cd61d0f0589f899f5f6bd471953cb
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch:    22.10_DEV

commit e1aaa4283f8cd61d0f0589f899f5f6bd471953cb
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Nov 24 13:43:30 2022 +1300

Bug 1997906: Avoid calling Mahara libraries twice

When using LDAP

Change-Id: I452e14882a9f1b4f556d03bba9084438228c317c
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1997906

Title:
  LDAP not working in  correctly in 22.10

Status in Mahara:
  Fix Committed
Status in Mahara 22.10 series:
  Fix Committed
Status in Mahara 23.04 series:
  Fix Committed

Bug description:
  We now get a:

  PHP Fatal error:  Cannot redeclare group_user_access() (previously
  declared in /var/www/html/lib/group.php:38) in
  /var/www/html/lib/group.php on line 38

  This is because we are already including the lib/group.php file
  earlier in the chain of loading things in some instances.

  We need to adjust the require() calls to require_once()

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



References