Changed ctime for the shared folder to the earliest ctime
This commit is contained in:
parent
3f5fde50c1
commit
e3ea84d048
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue