diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-09 20:31:28 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-11 08:38:55 +0100 |
commit | ebb9f1d16a1b4f91c12cc4092218e8f4ff2a25a2 (patch) | |
tree | a4e61a6d35933ee1dc2940075c47027a6ed1ed37 /apps/contactsinteraction | |
parent | 1a25b2e4026d8a56b458d1f4d6c50550e5d1f7dc (diff) | |
download | nextcloud-server-ebb9f1d16a1b4f91c12cc4092218e8f4ff2a25a2.tar.gz nextcloud-server-ebb9f1d16a1b4f91c12cc4092218e8f4ff2a25a2.zip |
Add a KnownUsers database with model
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/contactsinteraction')
-rw-r--r-- | apps/contactsinteraction/composer/composer/ClassLoader.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/contactsinteraction/composer/composer/ClassLoader.php b/apps/contactsinteraction/composer/composer/ClassLoader.php index 4d989a212c9..247294d66ee 100644 --- a/apps/contactsinteraction/composer/composer/ClassLoader.php +++ b/apps/contactsinteraction/composer/composer/ClassLoader.php @@ -311,8 +311,10 @@ class ClassLoader spl_autoload_register(array($this, 'loadClass'), true, $prepend); if (null === $this->vendorDir) { - //no-op - } elseif ($prepend) { + return; + } + + if ($prepend) { self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; } else { unset(self::$registeredLoaders[$this->vendorDir]); |