Skip to content

Commit

Permalink
Store Kolab_Storage_Factory in class (we need it later on)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjfox authored and mrubinsk committed Jun 5, 2015
1 parent 15b57f3 commit ff34f3b
Showing 1 changed file with 9 additions and 1 deletion.
Expand Up @@ -30,6 +30,13 @@
class Horde_Kolab_Storage_Data_Query_History_Base
implements Horde_Kolab_Storage_Data_Query_History
{
/**
* The factory for generating additional resources.
*
* @var Horde_Kolab_Storage_Factory
*/
protected $factory;

/**
* The queriable data.
*
Expand All @@ -54,7 +61,8 @@ public function __construct(Horde_Kolab_Storage_Data $data,
$params)
{
$this->data = $data;
$this->history = $params['factory']->createHistory($data->getAuth());
$this->factory = $params['factory'];
$this->history = $this->factory->createHistory($data->getAuth());
}

/**
Expand Down

0 comments on commit ff34f3b

Please sign in to comment.