mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 08:34:27 +02:00
Completely removed argc/argv
This commit is contained in:
parent
540ddb9265
commit
df558d4056
18 changed files with 70 additions and 114 deletions
|
@ -76,12 +76,6 @@ class Directory extends BaseModule
|
|||
if ($profiles['total'] === 0) {
|
||||
notice(DI::l10n()->t('No entries (some entries may be hidden).'));
|
||||
} else {
|
||||
if (in_array('small', $app->argv)) {
|
||||
$photo = 'thumb';
|
||||
} else {
|
||||
$photo = 'photo';
|
||||
}
|
||||
|
||||
foreach ($profiles['entries'] as $entry) {
|
||||
$contact = Model\Contact::getByURLForUser($entry['url'], local_user());
|
||||
if (!empty($contact)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue