Last modified: 2014-11-12 11:48:27 UTC
DatabaseUpdater::setAppliedUpdates serializes the whole update definition. DatabaseUpdater::runUpdates internally uses call_user_func_array, and thus supports a variety of update definitions (among them closures and `array( $object, 'methodname' )`). Not all of them are serializable, though. I ran into this when trying to remove a static method in wikibase (https://gerrit.wikimedia.org/r/168276). The instance on which the method is defined is not serializable, though, and thus the updatelog updating fails.