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:
moodler 2006-09-03 08:10:10 +00:00
parent 02bd14a7ed
commit c4d0753b25
3 changed files with 651 additions and 726 deletions

View file

@ -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