File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ trait ActiveRecordAccessTrait
35
35
* Public / all access
36
36
* @var string
37
37
*/
38
- private static $ _public = '* ' ;
38
+ private static $ _all = '* ' ;
39
39
40
40
/**
41
41
* @return array with access field names
@@ -79,7 +79,7 @@ public static function find()
79
79
80
80
// access domain check
81
81
if ($ accessDomain ) {
82
- $ query ->andWhere ([$ accessDomain => [\Yii::$ app ->language , self ::$ _public ]]);
82
+ $ query ->andWhere ([$ accessDomain => [\Yii::$ app ->language , self ::$ _all ]]);
83
83
}
84
84
}
85
85
@@ -198,7 +198,7 @@ public function beforeDelete()
198
198
*/
199
199
public static function allAccess ()
200
200
{
201
- return [self ::$ _public => self ::$ _public ];
201
+ return [self ::$ _all => self ::$ _all ];
202
202
}
203
203
204
204
/**
You can’t perform that action at this time.
0 commit comments