From 2ab28259422441fb3b4d74837581868cf6b3320d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cankush=5Fm=E2=80=9D?= Date: Mon, 2 Dec 2019 12:33:10 +0530 Subject: [PATCH] Bug #153541 fix: Request time out while executing the migration for client name --- .../administrator/houseKeeping/1.2.3/updateClientName.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/com_tjucm/administrator/houseKeeping/1.2.3/updateClientName.php b/src/components/com_tjucm/administrator/houseKeeping/1.2.3/updateClientName.php index cefb781b..b3c17650 100644 --- a/src/components/com_tjucm/administrator/houseKeeping/1.2.3/updateClientName.php +++ b/src/components/com_tjucm/administrator/houseKeeping/1.2.3/updateClientName.php @@ -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(); @@ -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