]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
We can only handle Memcached_DataObject in NoResultException
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 2 Nov 2013 17:48:28 +0000 (18:48 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 2 Nov 2013 17:48:28 +0000 (18:48 +0100)
lib/noresultexception.php

index fb1cdae039667165e6b798e0be433ed6644f5565..2933a351222c2eca4c10eedf7c6193f23241b7cf 100644 (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