Skip to content

Commit

Permalink
This fixes a broken mock object in the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed May 14, 2015
1 parent 21517b8 commit fc5f6e9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions framework/Kolab_Storage/lib/Horde/Kolab/Storage/Data.php
Expand Up @@ -253,4 +253,11 @@ public function deleteAll();
* @return NULL
*/
public function deleteBackendIds($uids);

/**
* Set a logger.
*
* @param Horde_Log_Logger $logger The logger instance.
*/
public function setLogger(Horde_Log_Logger $logger);
}
Expand Up @@ -68,6 +68,11 @@ public function __call($method, $args)
return call_user_func_array(array($this->_data, $method), $args);
}

public function setLogger(Horde_Log_Logger $logger)
{
// noop. Needed to satisfy the interface.
}

/**
* Return the folder path for this data handler.
*
Expand Down

0 comments on commit fc5f6e9

Please sign in to comment.