We can only handle Memcached_DataObject in NoResultException

This commit is contained in:
Mikael Nordfeldth 2013-11-02 18:48:28 +01:00
parent db889922ac
commit 2cecfe8f82

View File

@ -33,7 +33,7 @@ class NoResultException extends ServerException
{
public $obj; // The object with query that gave no results
public function __construct(DB_DataObject $obj)
public function __construct(Memcached_DataObject $obj)
{
$this->obj = $obj;
// We could log an entry here with the search parameters