aboutsummaryrefslogtreecommitdiff
path: root/lib/FormatFactory.php
diff options
context:
space:
mode:
authorGravatar Dag <me@dvikan.no> 2022-04-26 00:57:59 +0200
committerGravatar GitHub <noreply@github.com> 2022-04-26 00:57:59 +0200
commit0ef298f9cc5d2ab74ea9d41706998110fec0308f (patch)
treeef6692c1ddde0cb2adbaa7db0aa2bb139fb41e89 /lib/FormatFactory.php
parentb090b17bbf934a102723101911e30796520680b8 (diff)
downloadrss-bridge-0ef298f9cc5d2ab74ea9d41706998110fec0308f.tar.gz
rss-bridge-0ef298f9cc5d2ab74ea9d41706998110fec0308f.tar.zst
rss-bridge-0ef298f9cc5d2ab74ea9d41706998110fec0308f.zip
refactor: add php autoloader (#2655)
Diffstat (limited to 'lib/FormatFactory.php')
-rw-r--r--lib/FormatFactory.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/FormatFactory.php b/lib/FormatFactory.php
index e2bba2fc..c5024e15 100644
--- a/lib/FormatFactory.php
+++ b/lib/FormatFactory.php
@@ -59,8 +59,6 @@ class FormatFactory extends FactoryAbstract {
throw new \Exception('Format file ' . $filePath . ' does not exist!');
}
- require_once $pathFormat;
-
if((new \ReflectionClass($name))->isInstantiable()) {
return new $name();
}