From 4b9a4ac010f832f659e5977f3f199961fce88d70 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 14 Mar 2019 07:48:20 +0100 Subject: [PATCH] add hook preViewDocument --- views/bootstrap/class.ViewDocument.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index c9657f72e..413f2c775 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -412,6 +412,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { function show() { /* {{{ */ parent::show(); + + $this->callHook('preViewDocument'); + $dms = $this->params['dms']; $user = $this->params['user']; $folder = $this->params['folder'];