Right now, when submitting the feeds_unlock_tab_form() form, a database call is done inside the submit handler to clear the state.

Let's add a method called unlock() to the FeedsSource class which can perform the needed task. This is inspired by the D8 version of Feeds where the \Drupal\feeds\Entity\Feed class (equivalent of FeedsSource in D7) has a method with the same name.

Patch will follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MegaChriz created an issue. See original summary.

MegaChriz’s picture

Status: Active » Needs review
FileSize
1.29 KB
MegaChriz’s picture

Status: Needs review » Fixed

Committed #2.

  • MegaChriz committed d778cf9 on 7.x-2.x
    Issue #2867189 by MegaChriz: Added a method to FeedsSource to unlock a...
MegaChriz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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