From 16deb354424cb9c9f196e19e1fb4fe6a541b1b35 Mon Sep 17 00:00:00 2001 From: Matthew Ross Date: Wed, 8 Jun 2016 16:52:02 -0400 Subject: [PATCH] Change board users to shared list --- src/api/models/Board.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/models/Board.php b/src/api/models/Board.php index 324c997..baf9717 100644 --- a/src/api/models/Board.php +++ b/src/api/models/Board.php @@ -23,7 +23,7 @@ class Board extends BaseModel { $bean->xownColumnList = []; $bean->xownCategoryList = []; $bean->xownAutoActionList = []; - $bean->ownUserList = []; + $bean->sharedUserList = []; foreach($this->columns as $col) { $col->updateBean(); @@ -42,7 +42,7 @@ class Board extends BaseModel { foreach($this->users as $user) { $user->updateBean(); - $this->bean->ownUserList[] = $user->bean; + $this->bean->sharedUserList[] = $user->bean; } } @@ -82,8 +82,8 @@ class Board extends BaseModel { } } - if (isset($bean->ownUserList)) { - foreach($bean->ownUserList as $item) { + if (isset($bean->sharedUserList)) { + foreach($bean->sharedUserList as $item) { $this->users[] = new User($this->container, $item->id); } }