From c885f1c8146ddb3177210ba983fa1f19be81a41e Mon Sep 17 00:00:00 2001 From: vedatakd Date: Tue, 6 Oct 2020 16:58:25 +0300 Subject: [PATCH] fixed comments --- .../advs-module/resources/config/settings/sections.php | 4 ++-- .../advs-module/resources/config/settings/settings.php | 5 ----- .../visiosoft/advs-module/resources/lang/en/section.php | 2 +- .../src/Http/Controller/UploadController.php | 2 -- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php index b5b18a6d0..7d94fd80c 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php @@ -32,8 +32,8 @@ return [ 'listing_page_image', ], ], - 'ads-image' => [ - 'title' => 'visiosoft.module.advs::section.ads-image', + 'ads_image' => [ + 'title' => 'visiosoft.module.advs::section.ads_image', 'fields' => [ 'image_resize_backend', 'full_image_width', diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php index 28d90c75c..fe39dc59c 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php @@ -192,7 +192,6 @@ return [ ], //Image Settings - 'image_resize_backend' => [ 'type' => 'anomaly.field_type.boolean', 'config' => [ @@ -205,7 +204,6 @@ return [ 'default_value' => 800, ], ], - 'full_image_height' => [ 'type' => 'anomaly.field_type.integer', 'config' => [ @@ -273,9 +271,6 @@ return [ 'type' => 'anomaly.field_type.file', 'bind' => 'adv.watermark_image', 'env' => 'ADV_WATERMARK_IMAGE', - 'config' => [ - 'default_value' => '', - ], ], 'watermark_position' => [ 'type' => 'anomaly.field_type.select', diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/section.php b/addons/default/visiosoft/advs-module/resources/lang/en/section.php index 4e3fbc5f0..b3ebe1995 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/section.php @@ -44,5 +44,5 @@ return [ 'options' => [ 'title' => 'Options', ], - 'ads-image' => 'Ads Image', + 'ads_image' => 'Ads Image', ]; diff --git a/addons/default/visiosoft/media-field_type/src/Http/Controller/UploadController.php b/addons/default/visiosoft/media-field_type/src/Http/Controller/UploadController.php index ae5938fe2..613ab7454 100644 --- a/addons/default/visiosoft/media-field_type/src/Http/Controller/UploadController.php +++ b/addons/default/visiosoft/media-field_type/src/Http/Controller/UploadController.php @@ -24,9 +24,7 @@ use Anomaly\FilesModule\File\Contract\FileRepositoryInterface; class UploadController extends AdminController { public $uploader; - public $folders; - public $files; use DispatchesJobs;