Skip to content

Commit

Permalink
Merge pull request #263 from ankush-maherwal/release-1.2.3
Browse files Browse the repository at this point in the history
Bug #153541 fix: Request time out while executing the migration for c…
  • Loading branch information
ankush-maherwal authored Dec 2, 2019
2 parents 7c30600 + 2ab2825 commit a42d7b4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public function migrate()
JTable::addIncludePath(JPATH_ROOT . '/administrator/components/com_tjfields/tables');
JLoader::import('components.com_tjfields.helpers.tjfields', JPATH_ADMINISTRATOR);

// TJ-Fields helper object
$tjfieldsHelper = new TjfieldsHelper;

$result = array();
$ucmSubFormFieldsConfig = array();

Expand Down Expand Up @@ -127,7 +130,6 @@ public function migrate()
$tjfieldsFieldTable->store();

// Check if field name is unique
$tjfieldsHelper = new TjfieldsHelper;
$isUnique = $tjfieldsHelper->checkIfUniqueName($tjfieldsFieldTable->name);

// If the name of the field is not unique then update the name by appending count to it
Expand Down

0 comments on commit a42d7b4

Please sign in to comment.