diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-04-13 10:52:26 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-04-14 12:11:02 +0200 |
commit | 1c7ecfc54499d866b9913c135c0c7439634d8bb1 (patch) | |
tree | 162eff580adaa1fe92a3806625f452caf525c738 /apps/contactsinteraction | |
parent | 781784553889601d02553931aed8ff1fde95640b (diff) | |
download | nextcloud-server-1c7ecfc54499d866b9913c135c0c7439634d8bb1.tar.gz nextcloud-server-1c7ecfc54499d866b9913c135c0c7439634d8bb1.zip |
Fix an issue with the search backend update
And update autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/contactsinteraction')
-rw-r--r-- | apps/contactsinteraction/composer/autoload.php | 5 | ||||
-rw-r--r-- | apps/contactsinteraction/composer/composer/autoload_real.php | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/apps/contactsinteraction/composer/autoload.php b/apps/contactsinteraction/composer/autoload.php index 7bf597cd9cd..748e5f45fe9 100644 --- a/apps/contactsinteraction/composer/autoload.php +++ b/apps/contactsinteraction/composer/autoload.php @@ -2,6 +2,11 @@ // autoload.php @generated by Composer +if (PHP_VERSION_ID < 50600) { + echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; + exit(1); +} + require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInitContactsInteraction::getLoader(); diff --git a/apps/contactsinteraction/composer/composer/autoload_real.php b/apps/contactsinteraction/composer/composer/autoload_real.php index 8ba09879f54..09f95c83645 100644 --- a/apps/contactsinteraction/composer/composer/autoload_real.php +++ b/apps/contactsinteraction/composer/composer/autoload_real.php @@ -27,7 +27,7 @@ class ComposerAutoloaderInitContactsInteraction spl_autoload_unregister(array('ComposerAutoloaderInitContactsInteraction', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - \Composer\Autoload\ComposerStaticInitContactsInteraction::getInitializer($loader)(); + call_user_func(\Composer\Autoload\ComposerStaticInitContactsInteraction::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); |