Fix case in name of called method
authorMatthias Schmidt <gravatronics@live.com>
Thu, 7 Apr 2016 15:05:31 +0000 (17:05 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 7 Apr 2016 15:05:31 +0000 (17:05 +0200)
wcfsetup/install/files/lib/acp/page/CacheListPage.class.php

index bc9e6be2c8072d1e3b95e9383cb0958ab7a21c1b..b405c900bcff0d344b01535188ebe7531941dbd0 100755 (executable)
@@ -121,6 +121,7 @@ class CacheListPage extends AbstractPage {
                // get additional file information
                $data = array();
                if (is_array($files)) {
+                       /** @var \SplFileInfo $file */
                        foreach ($files as $file) {
                                if ($ignore !== null && $ignore->match($file)) {
                                        continue;
@@ -129,7 +130,7 @@ class CacheListPage extends AbstractPage {
                                $data[] = array(
                                        'filename' => $file->getBasename(),
                                        'filesize' => $file->getSize(),
-                                       'mtime' => $file->getMtime(),
+                                       'mtime' => $file->getMTime(),
                                        'perm' => substr(sprintf('%o', $file->getPerms()), -3),
                                        'writable' => $file->isWritable()
                                );