Fix post updates cannot be run #2619

Merged
merged 1 commit into from Feb 16, 2017

Projects

None yet

2 participants

@tstoeckler
Contributor

I don't have this problem in 8.1.9 put when I updated to dev-master locally I had

[warning] call_user_func_array() expects parameter 1 to be a valid callback, function 'update_invoke_post_update' not found or invalid function name batch.inc:232

all over my shell when running drush updb if it included any post updates. This fixes it.

Note there are a bunch of manual includes of update.inc in UpdateDBCommands, but I think they are all still valid as they are not related to the batch, but I am not 100% sure.

@tstoeckler tstoeckler Fix post updates cannot be run
b0f2277
@weitzman weitzman merged commit bb51610 into drush-ops:master Feb 16, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment