- Issue created by @daffie
- 🇦🇺Australia acbramley
Definitely agree with this one! I never knew
NodeStorage
only implemented its own special functions.There are 2 functions that I'd get rid of (deprecate first of course) entirely:
-::countDefaultLanguageRevisions
- this isn't used anywhere in the core codebase
-::updateType
- this function is just scary, see 📌 Deprecate NodeStorage::updateType and remove type change handling in NodeType::postSave ActiveAs for the remaining:
-::revisionIds
is used in a handful of tests and inNodeRevisionDeleteForm
-::userRevisionIds
is used in a handful of hooks insideNodeHooks
andNodeHooks1
(these classes will change in 📌 Remove NodeHooks1 Active
-::clearRevisionsLanguage
is used by a single hook inNodeHooks1::configurableLanguageDelete
- 🇦🇺Australia acbramley
Postponed on 📌 Deprecate NodeStorage::updateType and remove type change handling in NodeType::postSave Active