File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ protected static function bootAuditable()
60
60
*/
61
61
public function createdBy ()
62
62
{
63
- $ model = config ('auth.providers.users.model ' , config ( ' auth.providers.users.model ' , User::class) );
63
+ $ model = config ('auth.providers.users.model ' , User::class);
64
64
return $ this ->belongsTo ($ model , 'created_by ' );
65
65
}
66
66
@@ -69,7 +69,7 @@ public function createdBy()
69
69
*/
70
70
public function updatedBy ()
71
71
{
72
- $ model = config ('auth.providers.users.model ' , config ( ' auth.providers.users.model ' , User::class) );
72
+ $ model = config ('auth.providers.users.model ' , User::class);
73
73
return $ this ->belongsTo ($ model , 'updated_by ' );
74
74
}
75
75
@@ -78,7 +78,7 @@ public function updatedBy()
78
78
*/
79
79
public function deletedBy ()
80
80
{
81
- $ model = config ('auth.providers.users.model ' , config ( ' auth.providers.users.model ' , User::class) );
81
+ $ model = config ('auth.providers.users.model ' , User::class);
82
82
return $ this ->belongsTo ($ model , 'deleted_by ' );
83
83
}
84
84
}
You can’t perform that action at this time.
0 commit comments