The notice and info have been moved
This commit is contained in:
@@ -88,7 +88,7 @@ function wall_upload_post(App $a, $desktopmode = true)
|
||||
if ($r_json) {
|
||||
System::jsonExit(['error' => DI::l10n()->t('Permission denied.')]);
|
||||
}
|
||||
notice(DI::l10n()->t('Permission denied.'));
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.'));
|
||||
System::exit();
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ function wall_upload_post(App $a, $desktopmode = true)
|
||||
if ($r_json) {
|
||||
System::jsonExit(['error' => DI::l10n()->t('Invalid request.')]);
|
||||
}
|
||||
notice(DI::l10n()->t('Invalid request.'));
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('Invalid request.'));
|
||||
System::exit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user