[TASK] Cleanup ActionService::getVersionedId 51/51351/3
authorManuel Selbach <manuel_selbach@yahoo.de>
Wed, 18 Jan 2017 20:55:29 +0000 (21:55 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 25 Jan 2017 23:41:44 +0000 (00:41 +0100)
Within the refactoring process the optional parameter $useDeleteClause was missed
to remove from the parameter list of the method, as it is not implemented in the body and
not used anywhere in the core.

Releases: master
Resolves: #79382
Change-Id: I4db104941b78f44573b0b1f51ad216ded93887bf
Reviewed-on: https://review.typo3.org/51351
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Functional/DataHandling/Framework/ActionService.php

index 7638fe6..e3aa943 100644 (file)
@@ -451,10 +451,9 @@ class ActionService
     /**
      * @param string $tableName
      * @param int $liveUid
-     * @param bool $useDeleteClause
      * @return NULL|int
      */
-    protected function getVersionedId($tableName, $liveUid, $useDeleteClause = false)
+    protected function getVersionedId($tableName, $liveUid)
     {
         $versionedId = null;
         $liveUid = (int)$liveUid;