mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Remove some deprecated methods calls
This commit is contained in:
@@ -66,7 +66,7 @@ class DatafileController extends AbstractDelivery
|
||||
|
||||
$stamp = false;
|
||||
$watermark = !$this->acl->get($this->authentication->getUser())
|
||||
->has_right_on_base($record->get_base_id(), 'nowatermark');
|
||||
->has_right_on_base($record->getBaseId(), 'nowatermark');
|
||||
|
||||
if ($watermark && !$all_access) {
|
||||
$subdef_class = null;
|
||||
|
Reference in New Issue
Block a user