From b27ea8553207ef7df6f35f8f12869e7be01a91a6 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Thu, 2 May 2019 22:49:33 +0200 Subject: [PATCH] Move mod/directory to src/Module/Directory --- forumdirectory/forumdirectory.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index 7879d47d..46a4b3cf 100644 --- a/forumdirectory/forumdirectory.php +++ b/forumdirectory/forumdirectory.php @@ -13,13 +13,10 @@ use Friendica\Content\Widget; use Friendica\Core\Config; use Friendica\Core\Hook; use Friendica\Core\L10n; -use Friendica\Core\Logger; use Friendica\Core\Renderer; use Friendica\Database\DBA; use Friendica\Model\Profile; -use Friendica\Model\User; use Friendica\Util\Strings; -use Friendica\Util\Temporal; include_once 'mod/directory.php'; @@ -136,7 +133,7 @@ function forumdirectory_content(App $a) } while ($rr = DBA::fetch($r)) { - $entries[] = format_directory_entry($rr, $photo); + $entries[] = Friendica\Module\Directory::formatEntry($rr, $photo); } DBA::close($r); } else { -- 2.39.5