diff --git a/controllers/class.AddDocument.php b/controllers/class.AddDocument.php index 7f2a73cbe..f7bb990fd 100644 --- a/controllers/class.AddDocument.php +++ b/controllers/class.AddDocument.php @@ -160,7 +160,6 @@ class SeedDMS_Controller_AddDocument extends SeedDMS_Controller_Common { $workflow = $this->getParam('workflow'); $notificationgroups = $this->getParam('notificationgroups'); $notificationusers = $this->getParam('notificationusers'); - $maxsizeforfulltext = $this->getParam('maxsizeforfulltext'); $defaultaccessdocs = $this->getParam('defaultaccessdocs'); $document = $this->callHook('addDocument'); diff --git a/op/op.AddDocument.php b/op/op.AddDocument.php index 03fb8c18e..badc1aad2 100644 --- a/op/op.AddDocument.php +++ b/op/op.AddDocument.php @@ -400,7 +400,6 @@ foreach($file_ary as $file) { $controller->setParam('workflow', $workflow); $controller->setParam('notificationgroups', $notgroups); $controller->setParam('notificationusers', $notusers); - $controller->setParam('maxsizeforfulltext', $settings->_maxSizeForFullText); $controller->setParam('defaultaccessdocs', $settings->_defaultAccessDocs); if(!($document = $controller())) {