[BUGFIX] Have extractFileInformation extract atime only once 93/55993/5
authorGuido Schmechel <littlegee@web.de>
Sat, 3 Mar 2018 09:25:57 +0000 (10:25 +0100)
committerFrans Saris <franssaris@gmail.com>
Sat, 3 Mar 2018 21:13:04 +0000 (22:13 +0100)
Remove duplicate "atime" entry to prevent duplicate
call of "atime" property extraction.

Resolves: #83992
Releases: master, 8.7
Change-Id: I2e09bc07b12b07eb89bd6fb247d0fed4431c8ef6
Reviewed-on: https://review.typo3.org/55993
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php

index 447a197..7a62d3a 100644 (file)
@@ -638,7 +638,7 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver
     {
         if (empty($propertiesToExtract)) {
             $propertiesToExtract = [
-                'size', 'atime', 'atime', 'mtime', 'ctime', 'mimetype', 'name',
+                'size', 'atime', 'mtime', 'ctime', 'mimetype', 'name',
                 'identifier', 'identifier_hash', 'storage', 'folder_hash'
             ];
         }