Revert "[TASK] Rebuild the calcAge functionality"
[Packages/TYPO3.CMS.git] / typo3 / sysext / lowlevel / Classes / OrphanRecordsCommand.php
index d94be4c..d83f307 100644 (file)
@@ -78,7 +78,7 @@ Will report orphan uids from TCA tables.';
                );
                // zero = tree root, must use tree root if you wish to reverse selection to find orphans!
                $startingPoint = 0;
-               $pt = \TYPO3\CMS\Core\Utility\DateTimeUtility::milliseconds();
+               $pt = \TYPO3\CMS\Core\Utility\GeneralUtility::milliseconds();
                $this->genTree($startingPoint, 1000, (int)$this->cli_argValue('--echotree'));
                $resultArray['misplaced_at_rootlevel'] = $this->recStats['misplaced_at_rootlevel'];
                $resultArray['misplaced_inside_tree'] = $this->recStats['misplaced_inside_tree'];