Skip to content

Commit c7e798d

Browse files
authored
Removed hacky workaround which is no longer necassary
1 parent 080bb78 commit c7e798d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Table.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ public function getRow(\CoolBeans\Contract\PrimaryKey $key) : \CoolBeans\Bridge\
3737

3838
public function findAll() : \CoolBeans\Bridge\Nette\Selection
3939
{
40-
$cache = \array_values((array) $this->getContext())[3];
41-
42-
return new \CoolBeans\Bridge\Nette\Selection($this->getContext(), $this->getContext()->getConventions(), $this->getName(), $cache);
40+
return new \CoolBeans\Bridge\Nette\Selection($this->getContext(), $this->getContext()->getConventions(), $this->getName());
4341
}
4442

4543
public function findByArray(array $filter) : \CoolBeans\Bridge\Nette\Selection

0 commit comments

Comments
 (0)