aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-11-09 08:45:45 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-11-09 08:45:45 +0100
commitac8c80ddbe5414c59a72881684e1079289270f12 (patch)
tree2b8da0d10d45d7aa29e68ea35b52b614fe1cf128 /include
parent17183cc5dcbc5eb825d353d9f24fa74b2e4c6cdd (diff)
downloadvolse-hubzilla-ac8c80ddbe5414c59a72881684e1079289270f12.tar.gz
volse-hubzilla-ac8c80ddbe5414c59a72881684e1079289270f12.tar.bz2
volse-hubzilla-ac8c80ddbe5414c59a72881684e1079289270f12.zip
Fix incorrect module imports.
When importing modules with use statements, they always require the fully qualified module name. Iow, there's no need to prefix them with an extra backslash. Ref: https://www.php.net/manual/en/language.namespaces.importing.php
Diffstat (limited to 'include')
-rw-r--r--include/help.php2
-rw-r--r--include/nav.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/help.php b/include/help.php
index 12721a30b..0efe90a9f 100644
--- a/include/help.php
+++ b/include/help.php
@@ -1,6 +1,6 @@
<?php
-use \Michelf\MarkdownExtra;
+use Michelf\MarkdownExtra;
use CommerceGuys\Intl\Language\LanguageRepository;
require_once('include/items.php');
diff --git a/include/nav.php b/include/nav.php
index f8cd6101f..1bee5a2db 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -1,8 +1,8 @@
<?php /** @file */
-use \Zotlabs\Lib\Apps;
-use \Zotlabs\Lib\Chatroom;
-use \Zotlabs\Lib\Config;
+use Zotlabs\Lib\Apps;
+use Zotlabs\Lib\Chatroom;
+use Zotlabs\Lib\Config;
require_once('include/security.php');
require_once('include/menu.php');