]> git.mxchange.org Git - friendica.git/commitdiff
Remove function call of global namespace
authorArt4 <art4@wlabs.de>
Tue, 20 May 2025 12:06:01 +0000 (12:06 +0000)
committerArt4 <art4@wlabs.de>
Tue, 20 May 2025 12:06:01 +0000 (12:06 +0000)
src/Core/Addon/AddonManagerHelper.php

index 513baeb326fdb04ebd7cca652fb80ae4d407746b..4b7ed1c4a024be5a2702e870eb8ab31b95b0a5a0 100644 (file)
@@ -84,7 +84,7 @@ final class AddonManagerHelper implements AddonHelper
                foreach ($dirs as $dirname) {
                        // ignore hidden files and folders
                        // @TODO: Replace with str_starts_with() when PHP 8.0 is the minimum version
-                       if (\strncmp($dirname, '.', 1) === 0) {
+                       if (strncmp($dirname, '.', 1) === 0) {
                                continue;
                        }