s3 bandwidth usage fix

This commit is contained in:
Čarodej
2022-03-29 10:06:20 +02:00
parent 8c59501907
commit 9d4d1ba9aa
28 changed files with 205 additions and 214 deletions

15
src/Support/errors.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
function accessDeniedError(): array {
return [
'type' => 'error',
'message' => 'Access Denied',
];
}
function userActionNotAllowedError(): array {
return [
'type' => 'error',
'message' => 'This user action is not allowed.',
];
}