[BUGFIX] Remove unused variable in DataHandler 93/59393/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 9 Jan 2019 22:20:18 +0000 (23:20 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 10 Jan 2019 09:35:11 +0000 (10:35 +0100)
Resolves: #87384
Related: #87294
Releases: master
Change-Id: If9cba4db4efc8f1c8e1be5c501450e1a18d87235
Reviewed-on: https://review.typo3.org/59393
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Tested-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/DataHandling/DataHandler.php

index 868ce9f..9174191 100644 (file)
@@ -5833,8 +5833,6 @@ class DataHandler implements LoggerAwareInterface
             ->setMaxResults(1)
             ->execute()
             ->fetchColumn();
-        // Look for version number of the current:
-        $subVer = $row['t3ver_id'] . '.' . ($highestVerNumber + 1);
         // Set up the values to override when making a raw-copy:
         $overrideArray = [
             't3ver_id' => $highestVerNumber + 1,