mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Remove references from .env.example
This commit is contained in:
parent
4921eadc89
commit
402ac09c22
@ -28,15 +28,6 @@ REDIS_HOST=127.0.0.1
|
|||||||
REDIS_PASSWORD=null
|
REDIS_PASSWORD=null
|
||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
|
|
||||||
MAIL_MAILER=smtp
|
|
||||||
MAIL_HOST=smtp.mailtrap.io
|
|
||||||
MAIL_PORT=2525
|
|
||||||
MAIL_USERNAME=null
|
|
||||||
MAIL_PASSWORD=null
|
|
||||||
MAIL_ENCRYPTION=null
|
|
||||||
MAIL_FROM_ADDRESS="user@example.com"
|
|
||||||
MAIL_FROM_NAME="Self Hosted User"
|
|
||||||
|
|
||||||
POSTMARK_API_TOKEN=
|
POSTMARK_API_TOKEN=
|
||||||
REQUIRE_HTTPS=false
|
REQUIRE_HTTPS=false
|
||||||
|
|
||||||
|
@ -39,20 +39,6 @@ class CanAddUserRule implements Rule
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
Check that we have sufficient quota to allow this to happen
|
|
||||||
|
|
||||||
@ 31-01-2024 - changed query to use email instead of user_id
|
|
||||||
|
|
||||||
$count = CompanyUser::query()
|
|
||||||
->where('company_user.account_id', $user->account_id)
|
|
||||||
->join('users', 'users.id', '=', 'company_user.user_id')
|
|
||||||
->whereNull('users.deleted_at')
|
|
||||||
->whereNull('company_user.deleted_at')
|
|
||||||
->distinct()
|
|
||||||
->count('company_user.user_id');
|
|
||||||
*/
|
|
||||||
|
|
||||||
$count = CompanyUser::query()
|
$count = CompanyUser::query()
|
||||||
->where("company_user.account_id", $user->account_id)
|
->where("company_user.account_id", $user->account_id)
|
||||||
->join("users", "users.id", "=", "company_user.user_id")
|
->join("users", "users.id", "=", "company_user.user_id")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user