Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit d62e219

Browse files
author
Michael Grauer
committed
BUG: refs #408. Changed clearstatcache to be compatable with php 5.2 .
1 parent 0e7ea66 commit d62e219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/models/dao/BitstreamDao.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function fillPropertiesFromPath()
4242
$this->setMimetype($this->Component->MimeType->getType($this->path));
4343
// clear the stat cache, as the underlying file might have changed
4444
// since the last time filesize was called on the same filepath
45-
clearstatcache(true, $this->path);
45+
clearstatcache();
4646
$this->setSizebytes(filesize($this->path));
4747
if(!isset($this->checksum) || empty($this->checksum))
4848
{

0 commit comments

Comments
 (0)