Skip to content

Commit

Permalink
Ignore missing class_alias call in filter validation for Moodle 4.5 a…
Browse files Browse the repository at this point in the history
…nd above
  • Loading branch information
PhMemmel committed Jan 7, 2025
1 parent 18fe3e1 commit e48cd58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PluginValidate/Requirements/FilterRequirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function getRequiredStrings(): FileTokens

public function getRequiredFunctionCalls(): array
{
if ($this->moodleVersion <= 404 && !$this->fileExists('classes/text_filter.php')) {
if ($this->moodleVersion >= 405 || ($this->moodleVersion <= 404 && !$this->fileExists('classes/text_filter.php'))) {
return [];
}

Expand Down

0 comments on commit e48cd58

Please sign in to comment.