Apply fixes from StyleCI (#12120)

This commit is contained in:
Jellyfrog
2020-09-21 15:40:17 +02:00
committed by GitHub
parent 77c531527c
commit 82f43cb98d
1733 changed files with 18337 additions and 18540 deletions

View File

@@ -11,8 +11,8 @@
* the source code distribution for details.
*/
if (!Auth::user()->hasGlobalAdmin()) {
die('ERROR: You need to be admin');
if (! Auth::user()->hasGlobalAdmin()) {
exit('ERROR: You need to be admin');
}
?>