Skip to content

Commit

Permalink
Merge pull request #15683 from Toreg87/fixes/outdated_comment
Browse files Browse the repository at this point in the history
Fix outdated comment in CompanyableTrait
  • Loading branch information
snipe authored Oct 17, 2024
2 parents 2500375 + f50ccbc commit bcb4bd9
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 bcb4bd9

Please sign in to comment.