Skip to content

Commit 8bbc47f

Browse files
committed
Update WpUser.php
1 parent 67ce6c2 commit 8bbc47f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Models/WpUser.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
use Illuminate\Foundation\Auth\User as Authenticatable;
1313
use Illuminate\Notifications\Notifiable;
1414
use Moox\Press\QueryBuilder\UserQueryBuilder;
15-
use Spatie\Permission\Traits\HasRoles;
1615

1716
/**
1817
* @property string $user_email
1918
*/
2019
class WpUser extends Authenticatable implements FilamentUser
2120
{
22-
use HasFactory, HasRoles, Mutable, Notifiable;
21+
use HasFactory, Mutable, Notifiable;
2322

2423
protected $fillable = [
2524
'user_login',
@@ -64,8 +63,8 @@ public function __construct(array $attributes = [])
6463
$this->fillable = array_keys($defaultUserMeta);
6564

6665
$this->wpPrefix = config('press.wordpress_prefix');
67-
$this->table = $this->wpPrefix.'users';
68-
$this->metatable = $this->wpPrefix.'usermeta';
66+
$this->table = $this->wpPrefix . 'users';
67+
$this->metatable = $this->wpPrefix . 'usermeta';
6968

7069
$this->initializeMetaFields();
7170
}

0 commit comments

Comments
 (0)