LDAP not working in correctly in 22.10
Bug #1997906 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mahara | ||||||
22.10 |
Fix Released
|
High
|
Unassigned | |||
23.04 |
Fix Released
|
High
|
Unassigned |
Bug Description
We now get a:
PHP Fatal error: Cannot redeclare group_user_access() (previously declared in /var/www/
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()
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in mahara: | |
milestone: | 23.04.0 → none |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
no longer affects: | mahara |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/c/mahara/ +/13495 /git.mahara. org/mahara/ mahara/ commit/ 08ce93a266fdd39 7d6168460410519 d714be709b
Committed: https:/
Submitter: "Gold <email address hidden>"
Branch: main
commit 08ce93a266fdd39 7d6168460410519 d714be709b
Author: Robert Lyon <email address hidden>
Date: Thu Nov 24 13:43:30 2022 +1300
Bug 1997906: Avoid calling Mahara libraries twice
When using LDAP
Change-Id: I452e14882a9f1b 4f556d03bba9084 438228c317c
Signed-off-by: Robert Lyon <email address hidden>