mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-70877 php: remove final functions __clone and __wakeup
Implementing these functions as final does not prevent the object to be cloned or serialized, so the comment to them was wrong. However having these functions not public breaks in PHP 8.0. It still does not make sense to clone or serialise file_system or external_settings classes but there are a lot of classes in moodle that should not be cloned, no reason to have a specific solution here.
- Loading branch information
1 parent
95dd305
commit a7553de
Showing
2 changed files
with
0 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters