Changed ctime for the shared folder to the earliest ctime

This commit is contained in:
Michael Gapczynski 2011-06-22 19:17:31 -04:00
parent 3f5fde50c1
commit e3ea84d048
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class OC_FILESTORAGE_SHARED {
$dir = OC_FILESTORAGE_SHARED::opendir($path);
while (($filename = readdir($dir)) != false) {
$tempctime = OC_FILESTORAGE_SHARED::filectime($filename);
if ($tempctime > $ctime) {
if ($tempctime < $ctime) {
$ctime = $tempctime;
}
}