]> git.mxchange.org Git - friendica-addons.git/commitdiff
Move mod/directory to src/Module/Directory
authorPhilipp Holzer <admin@philipp.info>
Thu, 2 May 2019 20:49:33 +0000 (22:49 +0200)
committerPhilipp Holzer <admin@philipp.info>
Thu, 2 May 2019 20:49:33 +0000 (22:49 +0200)
forumdirectory/forumdirectory.php

index 7879d47d6471aa6c04c0bc3778183d9d242b5c3d..46a4b3cfa23722136b889a79df5c42f1851abef0 100644 (file)
@@ -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 {