mirror of
https://github.com/friendica/friendica
synced 2025-04-25 04:30:11 +00:00
Some corrections
This commit is contained in:
parent
8b775d48f9
commit
3bb5a416f8
3 changed files with 3 additions and 2 deletions
|
@ -148,7 +148,7 @@ function message_content(App $a)
|
|||
|
||||
$cmd = $a->argv[1];
|
||||
if ($cmd === 'drop') {
|
||||
if (dba::delete('mail', ['id' => $a->argv[2]])) {
|
||||
if (dba::delete('mail', ['id' => $a->argv[2], 'uid' => local_user()])) {
|
||||
info(L10n::t('Message deleted.') . EOL);
|
||||
}
|
||||
//goaway(System::baseUrl(true) . '/message' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue