forked from friendica/friendica-addons
Move mod/directory to src/Module/Directory
This commit is contained in:
parent
dd01cbd52d
commit
b27ea85532
1 changed files with 1 additions and 4 deletions
|
@ -13,13 +13,10 @@ use Friendica\Content\Widget;
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\Hook;
|
use Friendica\Core\Hook;
|
||||||
use Friendica\Core\L10n;
|
use Friendica\Core\L10n;
|
||||||
use Friendica\Core\Logger;
|
|
||||||
use Friendica\Core\Renderer;
|
use Friendica\Core\Renderer;
|
||||||
use Friendica\Database\DBA;
|
use Friendica\Database\DBA;
|
||||||
use Friendica\Model\Profile;
|
use Friendica\Model\Profile;
|
||||||
use Friendica\Model\User;
|
|
||||||
use Friendica\Util\Strings;
|
use Friendica\Util\Strings;
|
||||||
use Friendica\Util\Temporal;
|
|
||||||
|
|
||||||
include_once 'mod/directory.php';
|
include_once 'mod/directory.php';
|
||||||
|
|
||||||
|
@ -136,7 +133,7 @@ function forumdirectory_content(App $a)
|
||||||
}
|
}
|
||||||
|
|
||||||
while ($rr = DBA::fetch($r)) {
|
while ($rr = DBA::fetch($r)) {
|
||||||
$entries[] = format_directory_entry($rr, $photo);
|
$entries[] = Friendica\Module\Directory::formatEntry($rr, $photo);
|
||||||
}
|
}
|
||||||
DBA::close($r);
|
DBA::close($r);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue