mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Fix outdated comment in CompanyableTrait
As of commit 5800e8d
the user model uses CompanyableTrait so remove this clearly outdated comment
This commit is contained in:
parent
2500375400
commit
f50ccbcc49
|
@ -8,9 +8,6 @@ trait CompanyableTrait
|
||||||
* This trait is used to scope models to the current company. To use this scope on companyable models,
|
* This trait is used to scope models to the current company. To use this scope on companyable models,
|
||||||
* we use the "use Companyable;" statement at the top of the mode.
|
* we use the "use Companyable;" statement at the top of the mode.
|
||||||
*
|
*
|
||||||
* We CANNOT USE THIS ON USERS, as it causes an infinite loop and prevents users from logging in, since this scope will be
|
|
||||||
* applied to the currently logged in (or logging in) user in addition to the user model for viewing lists of users.
|
|
||||||
*
|
|
||||||
* @see \App\Models\Company\Company::scopeCompanyables()
|
* @see \App\Models\Company\Company::scopeCompanyables()
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue