forked from extern/egroupware
"fixed not working rename of dirs in the old vfs"
This commit is contained in:
parent
066578711f
commit
e71d16ed28
@ -1980,7 +1980,11 @@
|
|||||||
// if the modification time get's set, we also set it in the filesystem, as
|
// if the modification time get's set, we also set it in the filesystem, as
|
||||||
// the next reload reset it again to the modification time of the filesystem
|
// the next reload reset it again to the modification time of the filesystem
|
||||||
case 'modified':
|
case 'modified':
|
||||||
touch($p->real_full_path,$data['attributes'][$attribute]);
|
// we only set it if the file already exists, as otherwise renames of directories fail
|
||||||
|
if (file_exists($p->real_full_path) && $data['attributes'][$attribute])
|
||||||
|
{
|
||||||
|
touch($p->real_full_path,$data['attributes'][$attribute]);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user