basic code cleanup.

This commit is contained in:
Taylor Otwell
2012-02-23 14:02:59 -06:00
parent e69f988fe5
commit 157f619e98
3 changed files with 3 additions and 5 deletions

View File

@@ -285,8 +285,7 @@ class File {
// To get the latest created file, we'll simply spin through the
// directory, setting the latest file if we encounter a file
// with a UNIX timestamp greater than the latest one we
// have encountered thus far in the loop.
// with a UNIX timestamp greater than the latest one.
foreach ($items as $item)
{
if ($item->getMTime() > $time) $latest = $item;