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:
Robin Appelman 2021-03-09 17:19:28 +01:00
commit 767f6b3f6f

View file

@ -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'];
} }
/** /**