From 335c7bbf98afcd7cc6bff8326d65ff8eecc7b188 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 22 Jan 2023 19:16:38 +0100 Subject: [PATCH] do not include SeedDMS/Preview.php anymore because it is included in inc.FulltextInit.php already --- op/op.TimelineFeedPreview.php | 5 ----- out/out.TransmittalMgr.php | 5 ----- views/bootstrap/class.ReceiptSummary.php | 10 ---------- views/bootstrap/class.RevisionSummary.php | 10 ---------- views/bootstrap/class.TimelineFeed.php | 5 ----- 5 files changed, 35 deletions(-) diff --git a/op/op.TimelineFeedPreview.php b/op/op.TimelineFeedPreview.php index 183b3d4b7..83a457df5 100644 --- a/op/op.TimelineFeedPreview.php +++ b/op/op.TimelineFeedPreview.php @@ -30,11 +30,6 @@ include("../inc/inc.ClassUI.php"); include("../inc/inc.ClassController.php"); //include("../inc/inc.BasicAuthentication.php"); -/** - * Include class to preview documents - */ -require_once("SeedDMS/Preview.php"); - if(empty($_GET['hash'])) exit; diff --git a/out/out.TransmittalMgr.php b/out/out.TransmittalMgr.php index 22aac353f..493d8f07a 100644 --- a/out/out.TransmittalMgr.php +++ b/out/out.TransmittalMgr.php @@ -32,11 +32,6 @@ require_once("inc/inc.Authentication.php"); require_once("../views/".$theme."/trait.TransmittalUpdateButton.php"); require_once("../views/".$theme."/trait.TransmittalDeleteButton.php"); -/** - * Include class to preview documents - */ -require_once("SeedDMS/Preview.php"); - $isajax = isset($_GET['action']) && ($_GET['action'] == 'items' || $_GET['action'] == 'form'); $tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); $view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user)); diff --git a/views/bootstrap/class.ReceiptSummary.php b/views/bootstrap/class.ReceiptSummary.php index 657433a1f..acc2497fe 100644 --- a/views/bootstrap/class.ReceiptSummary.php +++ b/views/bootstrap/class.ReceiptSummary.php @@ -13,16 +13,6 @@ * @version Release: @package_version@ */ -/** - * Include parent class - */ -//require_once("class.Bootstrap.php"); - -/** - * Include class to preview documents - */ -require_once("SeedDMS/Preview.php"); - /** * Class which outputs the html page for ReceiptSummary view * diff --git a/views/bootstrap/class.RevisionSummary.php b/views/bootstrap/class.RevisionSummary.php index 323ef6a6f..42df251b9 100644 --- a/views/bootstrap/class.RevisionSummary.php +++ b/views/bootstrap/class.RevisionSummary.php @@ -13,16 +13,6 @@ * @version Release: @package_version@ */ -/** - * Include parent class - */ -//require_once("class.Bootstrap.php"); - -/** - * Include class to preview documents - */ -require_once("SeedDMS/Preview.php"); - /** * Class which outputs the html page for ReviewSummary view * diff --git a/views/bootstrap/class.TimelineFeed.php b/views/bootstrap/class.TimelineFeed.php index 050af1000..854744f91 100644 --- a/views/bootstrap/class.TimelineFeed.php +++ b/views/bootstrap/class.TimelineFeed.php @@ -20,11 +20,6 @@ require_once("vendor/autoload.php"); use \FeedWriter\RSS2; -/** - * Include class to preview documents - */ -require_once("SeedDMS/Preview.php"); - /** * Class which outputs the html page for UserList view *