@@ 4254-4258 (lines=5) @@ | ||
4251 | ) |
|
4252 | ); |
|
4253 | ||
4254 | if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS']) && $GLOBALS['TCA'][$table]['ctrl']['versioningWS']) { |
|
4255 | $queryBuilder->andWhere( |
|
4256 | $queryBuilder->expr()->eq('t3ver_oid', $queryBuilder->createNamedParameter(0, \PDO::PARAM_INT)) |
|
4257 | ); |
|
4258 | } |
|
4259 | // If $destPid is < 0, get the pid of the record with uid equal to abs($destPid) |
|
4260 | $tscPID = BackendUtility::getTSconfig_pidValue($table, $uid, $destPid); |
|
4261 | // Get the localized records to be copied |
|
@@ 4673-4677 (lines=5) @@ | ||
4670 | ) |
|
4671 | ); |
|
4672 | ||
4673 | if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS']) && $GLOBALS['TCA'][$table]['ctrl']['versioningWS']) { |
|
4674 | $queryBuilder->andWhere( |
|
4675 | $queryBuilder->expr()->eq('t3ver_oid', $queryBuilder->createNamedParameter(0, \PDO::PARAM_INT)) |
|
4676 | ); |
|
4677 | } |
|
4678 | ||
4679 | $l10nRecords = $queryBuilder->execute()->fetchAll(); |
|
4680 | if (is_array($l10nRecords)) { |
|
@@ 5641-5645 (lines=5) @@ | ||
5638 | ) |
|
5639 | ); |
|
5640 | ||
5641 | if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS']) && $GLOBALS['TCA'][$table]['ctrl']['versioningWS']) { |
|
5642 | $queryBuilder->andWhere( |
|
5643 | $queryBuilder->expr()->eq('t3ver_oid', $queryBuilder->createNamedParameter(0, \PDO::PARAM_INT)) |
|
5644 | ); |
|
5645 | } |
|
5646 | ||
5647 | $result = $queryBuilder->execute(); |
|
5648 | while ($record = $result->fetch()) { |