Revert some file_path() calls

This commit is contained in:
Deon George 2020-01-05 10:53:54 +11:00
parent d84412e9b1
commit 0b6b3021fd

View File

@ -201,13 +201,13 @@ abstract class Catalog extends Model
switch ($type)
{
case 'a': $t = fileatime($this->filename);
case 'a': $t = fileatime($this->file_path());
break;
case 'c': $t = filectime($this->filename);
case 'c': $t = filectime($this->file_path());
break;
case 'm': $t = filemtime($this->filename);
case 'm': $t = filemtime($this->file_path());
break;
}
@ -489,7 +489,7 @@ abstract class Catalog extends Model
{
$this->signature = $this->property('signature');
$this->file_signature = md5_file($this->filename);
$this->file_signature = md5_file($this->file_path());
}
/**