mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +00:00
use function filterDocumentLinks() from class SeedDMS_Core_DMS
This commit is contained in:
parent
02a8c52f33
commit
fd1d5fa2cf
|
@ -478,7 +478,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Blue_Style {
|
|||
$this->contentHeading(getMLText("linked_documents"));
|
||||
$this->contentContainerStart();
|
||||
$links = $document->getDocumentLinks();
|
||||
$links = filterDocumentLinks($user, $links);
|
||||
$links = SeedDMS_Core_DMS::filterDocumentLinks($user, $links);
|
||||
|
||||
if (count($links) > 0) {
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
|
||||
/* Retrieve linked documents */
|
||||
$links = $document->getDocumentLinks();
|
||||
$links = filterDocumentLinks($user, $links);
|
||||
$links = SeedDMS_Core_DMS::filterDocumentLinks($user, $links);
|
||||
|
||||
?>
|
||||
<ul class="nav nav-tabs" id="docinfotab">
|
||||
|
|
Loading…
Reference in New Issue
Block a user