-
Improvement
-
Resolution: Fixed
-
Minor
-
2.6.1
-
MOODLE_26_STABLE
-
MOODLE_28_STABLE
-
43365-28
-
Easy
-
- Run full unit tests, all conversions here are covered by unit tests already (yay)
At present we have a bit of a conundrum when renaming a class so that it is autoloaded.
We need to keep the original class but mark it deprecated and make it extend the new class.
This is problematic in some cases as making it extend the new class removes the immediate benefit of autoloading the class.
It also leads to us having more classes than we require loaded in PHP mem.
Autoloading itself is great, it allows us to remove requires that may not always be needed and we can do away with class exists and custom class loading code we've got .
It should be possible to come up with a simple register and class alias method of handling the renaming.
- blocks
-
MDL-43366 Rename cache classes for autoloading
-
- Closed
-
- has a non-specific relationship to
-
MDL-46122 Remove lib/pluginlib.php in Moodle 2.9
-
- Closed
-
-
MDL-46124 Remove text/plugin renamed class aliases in 2.9
-
- Closed
-
- has been marked as being related by
-
MDL-46214 Improve event classes deprecation
-
- Closed
-