1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Ran phpcbf

This commit is contained in:
Dan Brown
2019-05-05 14:54:37 +01:00
parent adc866cb3d
commit 3f83c548f8
11 changed files with 11 additions and 20 deletions

View File

@ -52,7 +52,8 @@ function signedInUser() : bool
* Check if the current user has general access.
* @return bool
*/
function hasAppAccess() : bool {
function hasAppAccess() : bool
{
return !auth()->guest() || setting('app-public');
}