Commit cc37b5ec9862ff2c1d075cae6c691604d2bb7796
1 parent
a2604481
user registration
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
app/library/App/Model/User.php
@@ -4,7 +4,6 @@ namespace App\Model; | @@ -4,7 +4,6 @@ namespace App\Model; | ||
4 | 4 | ||
5 | class User extends \App\Mvc\DateTrackingModel | 5 | class User extends \App\Mvc\DateTrackingModel |
6 | { | 6 | { |
7 | - public $id; | ||
8 | public $role; | 7 | public $role; |
9 | public $firstName; | 8 | public $firstName; |
10 | public $lastName; | 9 | public $lastName; |
@@ -19,7 +18,6 @@ class User extends \App\Mvc\DateTrackingModel | @@ -19,7 +18,6 @@ class User extends \App\Mvc\DateTrackingModel | ||
19 | public function columnMap() | 18 | public function columnMap() |
20 | { | 19 | { |
21 | return parent::columnMap() + [ | 20 | return parent::columnMap() + [ |
22 | - 'id' => 'id', | ||
23 | 'role' => 'role', | 21 | 'role' => 'role', |
24 | 'email' => 'email', | 22 | 'email' => 'email', |
25 | 'username' => 'username', | 23 | 'username' => 'username', |