Skip to content

Commit

Permalink
[BUGFIX] Remove outdated code
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer authored Sep 13, 2024
1 parent b058b70 commit 16c9970
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Classes/Utility/ClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ClassLoader implements SingletonInterface
{
protected PhpFrontend $classCache;
protected object $classCacheManager;
protected bool $isValidInstance = false;

public function __construct(?PhpFrontend $classCache = null)
{
Expand Down Expand Up @@ -51,10 +50,6 @@ public static function registerAutoloader(): void
*/
public function loadClass($className): bool
{
if (!$this->isValidInstance) {
return false;
}

$className = ltrim($className, '\\');

if (!$this->isValidClassName($className)) {
Expand Down

0 comments on commit 16c9970

Please sign in to comment.