mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 13:31:29 +00:00
pull latest readability-php via composer
This commit is contained in:
@@ -311,10 +311,8 @@ class ClassLoader
|
||||
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
||||
|
||||
if (null === $this->vendorDir) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($prepend) {
|
||||
//no-op
|
||||
} elseif ($prepend) {
|
||||
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
|
||||
} else {
|
||||
unset(self::$registeredLoaders[$this->vendorDir]);
|
||||
|
||||
Reference in New Issue
Block a user