|
@@ 247-249 (lines=3) @@
|
| 244 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkAll', 'no') === 'yes') { |
| 245 |
|
return true; |
| 246 |
|
} |
| 247 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkRead', 'no') === 'yes' && !$wopi->getCanwrite()) { |
| 248 |
|
return true; |
| 249 |
|
} |
| 250 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkSecure', 'no') === 'yes' && $wopi->getHideDownload()) { |
| 251 |
|
return true; |
| 252 |
|
} |
|
@@ 266-268 (lines=3) @@
|
| 263 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_shareAll', 'no') === 'yes') { |
| 264 |
|
return true; |
| 265 |
|
} |
| 266 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_shareRead', 'no') === 'yes' && !$wopi->getCanwrite()) { |
| 267 |
|
return true; |
| 268 |
|
} |
| 269 |
|
} |
| 270 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_allGroups', 'no') === 'yes') { |
| 271 |
|
$groups = $this->appConfig->getAppValueArray('watermark_allGroupsList'); |