Whether a post-update function is already recorded as run.
UpdateRegistry::getPendingUpdateFunctions() diffs the available functions
against $this->keyValue->get('existing_updates', []), and that key value lives
in key_value under collection = 'post_update'. The blob is a serialized ARRAY,
so rather than unserialize it this looks for the exact element bytes
s:<len>:"<fn>";. The length prefix is what stops a shorter name matching inside
a longer one.
Whether a post-update function is already recorded as run.
UpdateRegistry::getPendingUpdateFunctions()diffs the available functions against$this->keyValue->get('existing_updates', []), and that key value lives inkey_valueundercollection = 'post_update'. The blob is a serialized ARRAY, so rather than unserialize it this looks for the exact element bytess:<len>:"<fn>";. The length prefix is what stops a shorter name matching inside a longer one.