mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Moving deprecated functions to deprecatedlib.php from moodlelib.php and
some cleanups around the place. Many of the functions in deprecatedlib.php have been rewritten to work with the new roles and capabilities so that they can still work as well as possible.
This commit is contained in:
parent
02bd14a7ed
commit
c4d0753b25
3 changed files with 651 additions and 726 deletions
|
@ -183,6 +183,8 @@ global $HTTPSPAGEREQUIRED;
|
|||
require_once($CFG->libdir .'/weblib.php'); // Functions for producing HTML
|
||||
require_once($CFG->libdir .'/dmllib.php'); // Functions to handle DB data (DML)
|
||||
require_once($CFG->libdir .'/datalib.php'); // Legacy lib with a big-mix of functions.
|
||||
require_once($CFG->libdir .'/accesslib.php'); // Access control functions
|
||||
require_once($CFG->libdir .'/deprecatedlib.php'); // Deprecated functions included for backward compatibility
|
||||
require_once($CFG->libdir .'/moodlelib.php'); // Other general-purpose functions
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue