From 0c2f3c651a6151b5d26bdb84ecdb403d1c29470e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 30 Jul 2025 14:27:37 +0200 Subject: [PATCH] declare class variables --- views/bootstrap/class.LogManagement.php | 2 ++ views/bootstrap/class.ManageNotify.php | 13 ++++++++++++- views/bootstrap/class.ObjectCheck.php | 3 ++- views/bootstrap/class.Search.php | 4 ++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.LogManagement.php b/views/bootstrap/class.LogManagement.php index d730db8c1..35bf03ef4 100644 --- a/views/bootstrap/class.LogManagement.php +++ b/views/bootstrap/class.LogManagement.php @@ -31,6 +31,8 @@ */ class SeedDMS_View_LogManagement extends SeedDMS_Theme_Style { + protected $logdir; + function filelist($entries, $mode) { /* {{{ */ $print_header = true; foreach ($entries as $entry){ diff --git a/views/bootstrap/class.ManageNotify.php b/views/bootstrap/class.ManageNotify.php index f1908e43d..090078f1c 100644 --- a/views/bootstrap/class.ManageNotify.php +++ b/views/bootstrap/class.ManageNotify.php @@ -31,6 +31,18 @@ */ class SeedDMS_View_ManageNotify extends SeedDMS_Theme_Style { + protected $dms; + + protected $user; + + protected $cachedir; + + protected $previewwidth; + + protected $timeout; + + protected $xsendfile; + // Get list of subscriptions for documents or folders for user or groups function getNotificationList($as_group, $folders) { /* {{{ */ @@ -167,7 +179,6 @@ $(document).ready( function() { $this->user = $this->params['user']; $this->cachedir = $this->params['cachedir']; $this->previewwidth = $this->params['previewWidthList']; - $this->db = $this->dms->getDB(); $this->timeout = $this->params['timeout']; $this->xsendfile = $this->params['xsendfile']; diff --git a/views/bootstrap/class.ObjectCheck.php b/views/bootstrap/class.ObjectCheck.php index b10565f5b..7f602d769 100644 --- a/views/bootstrap/class.ObjectCheck.php +++ b/views/bootstrap/class.ObjectCheck.php @@ -31,6 +31,8 @@ */ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style { + protected $needsrepair; + function tree($dms, $folder, $previewer, $repair, $path=':', $indent='') { /* {{{ */ global $user; @@ -182,7 +184,6 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style { $setfilesize = $this->params['setfilesize']; $setchecksum = $this->params['setchecksum']; $rootfolder = $this->params['rootfolder']; - $this->enableClipboard = $this->params['enableclipboard']; $conversionmgr = $this->params['conversionmgr']; $cachedir = $this->params['cachedir']; $previewwidth = $this->params['previewWidthList']; diff --git a/views/bootstrap/class.Search.php b/views/bootstrap/class.Search.php index 654438d9c..4765db9b8 100644 --- a/views/bootstrap/class.Search.php +++ b/views/bootstrap/class.Search.php @@ -31,6 +31,10 @@ */ class SeedDMS_View_Search extends SeedDMS_Theme_Style { + /* + */ + protected $query; + /** * Mark search query sting in a given string *