Problem/Motivation

The function social_post_update_8601 is being executed with every database update. Because the module is called social_post Drupal actually thinks its a hook_post_update. See: https://www.drupal.org/project/drupal/issues/2880361

Proposed resolution

It’s changing configuration, this should happen in a post_update hook and not an update hook. So moving it to social_post_post_update_8601_administer_post_permissions in social_post.post_update.php solves the issue for now.

Comments

jaapjan created an issue. See original summary.

jaapjan credited Kingdutch.

jaapjan’s picture

Assigned: jaapjan » Unassigned
Status: Active » Needs review
jaapjan’s picture

Status: Needs review » Fixed

Will be in 7.0.

  • e6d975c committed on 8.x-7.x
    Issue #3085176 by jaapjan, Kingdutch, navneet0693: move...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.