Skip to content

Commit

Permalink
Fix outdated comment in CompanyableTrait
Browse files Browse the repository at this point in the history
As of commit 5800e8d the user model uses CompanyableTrait so remove this clearly outdated comment
  • Loading branch information
Toreg87 committed Oct 17, 2024
1 parent 2500375 commit f50ccbc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/Models/CompanyableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ trait CompanyableTrait
* 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 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()
* @return void
*/
Expand Down

0 comments on commit f50ccbc

Please sign in to comment.