mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
use write_time instead of change_time when using libsmbclient
this better matches the behavior of the smbclient backend and the previous libsmbclient behavior
This commit is contained in:
parent
b623cc1d7f
commit
767f6b3f6f
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class NativeFileInfo implements IFileInfo {
|
||||||
*/
|
*/
|
||||||
public function getMTime() {
|
public function getMTime() {
|
||||||
$stat = $this->stat();
|
$stat = $this->stat();
|
||||||
return $stat['change_time'];
|
return $stat['write_time'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue