mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
php: removed rename action
This commit is contained in:
@ -487,6 +487,11 @@
|
||||
'onRequestMailMergeRecipients': onRequestMailMergeRecipients,
|
||||
};
|
||||
|
||||
// prevent file renaming for anonymous users
|
||||
<?php if ($usersForMentions === null): ?>
|
||||
config.events['onRequestRename'] = onRequestRename;
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$out = getHistory($filename, $filetype, $docKey, $fileuri);
|
||||
$history = $out[0];
|
||||
|
||||
Reference in New Issue
Block a user