Skip to content

Commit

Permalink
[REGRESSION] backend.skipConfiguration doesn't skip new check (#143)
Browse files Browse the repository at this point in the history
A new check was introduced CheckConfiguration->renderCheckDirs() which isn't covered by the option to skip config checks in backend extension configuration.

rels: #139, #142
  • Loading branch information
jpmschuler committed Jan 12, 2023
1 parent 68c6782 commit c04c52f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Classes/UserFunctions/CheckConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function __construct(?ExtensionConfiguration $extensionConfiguration = nu
public function renderCheckAccess(): string
{
if ($this->extensionConfiguration->isSkipCheckConfiguration()) {
return '';
return 'Check skipped as the option "backend.skipCheckConfiguration" is active';
}

$this->setDirectories();
Expand All @@ -114,6 +114,10 @@ public function renderCheckAccess(): string
*/
public function renderCheckDirs(): string
{
if ($this->extensionConfiguration->isSkipCheckConfiguration()) {
return 'Check skipped as the option "backend.skipCheckConfiguration" is active';
}

$this->setDirectories();

if (count($this->protectedDirectories) === 0) {
Expand Down

0 comments on commit c04c52f

Please sign in to comment.