mirror of
https://github.com/friendica/friendica
synced 2025-04-25 00:30:32 +00:00
Delete on invalid
This commit is contained in:
parent
9da0e637a3
commit
d3709d8497
2 changed files with 12 additions and 6 deletions
|
@ -146,7 +146,8 @@ HELP;
|
|||
}
|
||||
|
||||
if ($quit_on_invalid && $fields['photo'] == '') {
|
||||
echo ' ' . $this->l10n->t('Quit') . "\n";
|
||||
echo ' ' . $this->l10n->t('Quit on invalid photo %d', $contact['avatar']) . "\n";
|
||||
Photo::delete(['resource-id' => $resourceid]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue