@@ 80-82 (lines=3) @@ | ||
77 | { |
|
78 | switch ($type) { |
|
79 | case 'organization': |
|
80 | if (!isset($this->cache['organizations'])) { |
|
81 | $this->cache['organizations'] = $this->api('member')->organizations()->all('me'); |
|
82 | } |
|
83 | ||
84 | foreach ($this->cache['organizations'] as $item) { |
|
85 | if ($name == $item['name']) { |
|
@@ 97-99 (lines=3) @@ | ||
94 | } |
|
95 | $organizationId = $this->getObjectId('organization', $options['organization']); |
|
96 | ||
97 | if (!isset($this->cache['boards'])) { |
|
98 | $this->cache['boards'] = $this->api('member')->boards()->all('me'); |
|
99 | } |
|
100 | ||
101 | foreach ($this->cache['boards'] as $item) { |
|
102 | if ($name == $item['name'] && $organizationId == $item['idOrganization']) { |