PHP7 deprecated constructor for xmldb
Bug #1677063 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon |
Bug Description
On upgrade I get these errors in error.log
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XMLDBpostgres has a deprecated constructor in /home/robertl/
We need to update the lib/xmldb/ files so classes are constructed correctly
eg
Replace
public function XMLDBpostgres(
with
public function __construct($host, $queryPort)
Changed in mahara: | |
milestone: | none → 17.04.0 |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in mahara: | |
status: | Confirmed → In Progress |
assignee: | nobody → Robert Lyon (robertl-9) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/7578