mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
d2b6a1b7f3
Let's require lib/ddllib.php and use the constant properly, so we don't need to go searching for cases in future changes. They are a hand of files, but already are included often each time the database manager is included. Possible alternative for this, if we want to reduce the number of included files is to move the constants to xmldb_constants and only include that file, but I don't think that makes much sense. Also, fix the xmldb schema definition to validate table and column names with the new allowed lengths.