diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-11-09 08:45:45 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-11-09 08:45:45 +0100 |
commit | ac8c80ddbe5414c59a72881684e1079289270f12 (patch) | |
tree | 2b8da0d10d45d7aa29e68ea35b52b614fe1cf128 /include | |
parent | 17183cc5dcbc5eb825d353d9f24fa74b2e4c6cdd (diff) | |
download | volse-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.php | 2 | ||||
-rw-r--r-- | include/nav.php | 6 |
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'); |