Fix file receiving mtime being set

This commit is contained in:
Deon George 2023-09-13 15:13:04 +10:00
parent 6fb31e2632
commit dc86d09894
1 changed files with 2 additions and 2 deletions

View File

@ -117,8 +117,8 @@ class Receive extends Base
fclose($this->f);
// Set our mtime
Log::info(sprintf('%s:= Setting file [%s] to time [%s]',self::LOGKEY,$this->receiving->full_name,$this->receiving->mtime));
touch($this->receiving->full_name,$this->receiving->mtime);
Log::info(sprintf('%s:= Setting file [%s] to time [%s]',self::LOGKEY,$this->receiving->full_name,$this->receiving->recvmtime));
touch($this->receiving->full_name,$this->receiving->recvmtime);
$this->f = NULL;
// If we received a packet, we'll dispatch a job to process it, if we got it all