Commit ce08e31e53c2d5d8cac1889aa7ea4c55faf80408
1 parent
bb6147e1
registration
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
app/library/App/Model/Project.php
... | ... | @@ -26,8 +26,8 @@ class Project extends \App\Mvc\DateTrackingModel |
26 | 26 | |
27 | 27 | public function initialize() { |
28 | 28 | |
29 | - $this->belongsTo('user_id', User::class, 'id', [ | |
30 | - 'alias' => 'User', | |
31 | - ]); | |
29 | +// $this->belongsTo('user_id', User::class, 'id', [ | |
30 | +// 'alias' => 'User', | |
31 | +// ]); | |
32 | 32 | } |
33 | 33 | } | ... | ... |
app/library/App/Model/User.php
... | ... | @@ -27,9 +27,9 @@ class User extends \App\Mvc\DateTrackingModel |
27 | 27 | |
28 | 28 | public function initialize() |
29 | 29 | { |
30 | - $this->hasMany('id', Project::class, 'user_id', [ | |
31 | - 'alias' => 'Projects', | |
32 | - ]); | |
30 | +// $this->hasMany('id', Project::class, 'user_id', [ | |
31 | +// 'alias' => 'Projects', | |
32 | +// ]); | |
33 | 33 | } |
34 | 34 | |
35 | 35 | } | ... | ... |