Revert "Implement Countable."
authorChuck Hagenbuch <chuck@horde.org>
Sat, 29 Aug 2009 02:49:09 +0000 (22:49 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Sat, 29 Aug 2009 02:49:09 +0000 (22:49 -0400)
This reverts commit a3f6be9df41ae34ad5f354e11012a9e7434b4e4d.

framework/Rdo/lib/Horde/Rdo/List.php

index 5f7ad9d..212878e 100644 (file)
@@ -12,7 +12,7 @@
  * @category Horde
  * @package  Horde_Rdo
  */
-class Horde_Rdo_List implements Iterator, Countable
+class Horde_Rdo_List implements Iterator
 {
     /**
      * Rdo Mapper
@@ -190,17 +190,4 @@ class Horde_Rdo_List implements Iterator, Countable
         return !$this->_eof;
     }
 
-    /**
-     * Returns the number of objects.
-     *
-     * @return integer
-     */
-    public function count()
-    {
-        if (is_null($this->_result)) {
-            $this->rewind();
-        }
-        return $this->_mapper->adapter->count();
-    }
-
 }