mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
Merge pull request #759 from Zankaria/fake-copy
Use hardlinks instead of copying the file
This commit is contained in:
commit
d990c344d4
@ -1342,8 +1342,8 @@ function mod_move($originBoard, $postID) {
|
||||
if ($targetBoard === $originBoard)
|
||||
error(_('Target and source board are the same.'));
|
||||
|
||||
// copy() if leaving a shadow thread behind; else, rename().
|
||||
$clone = $shadow ? 'copy' : 'rename';
|
||||
// link() if leaving a shadow thread behind; else, rename().
|
||||
$clone = $shadow ? 'link' : 'rename';
|
||||
|
||||
// indicate that the post is a thread
|
||||
$post['op'] = true;
|
||||
|
Loading…
Reference in New Issue
Block a user