Fix file receiving mtime being set
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user