From f3c4b24ad4c7706988eb9b4a315652bc2bbe102b Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 4 Jul 2015 19:30:58 +0930 Subject: [PATCH] Move Group to its own namespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’ll need to add commands etc. for group management in the future --- framework/core/src/Api/Actions/Groups/IndexAction.php | 2 +- framework/core/src/Core/{Users => Groups}/Group.php | 2 +- framework/core/src/Core/Users/Guest.php | 2 ++ framework/core/src/Core/Users/User.php | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-) rename framework/core/src/Core/{Users => Groups}/Group.php (94%) diff --git a/framework/core/src/Api/Actions/Groups/IndexAction.php b/framework/core/src/Api/Actions/Groups/IndexAction.php index c82460647..3326be049 100644 --- a/framework/core/src/Api/Actions/Groups/IndexAction.php +++ b/framework/core/src/Api/Actions/Groups/IndexAction.php @@ -1,6 +1,6 @@ belongsToMany('Flarum\Core\Users\Group', 'users_groups'); + return $this->belongsToMany('Flarum\Core\Groups\Group', 'users_groups'); } /**