]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Sitemap/Sitemap_user_count.php
Updating all Memcached_DataObject extended classes to Managed_DataObject
[quix0rs-gnu-social.git] / plugins / Sitemap / Sitemap_user_count.php
index 0b45021bf53694c8fd206cc8836b1ba6dda5185d..3377879f9479d6a01df8a7ad51a943817acafdc2 100644 (file)
@@ -47,7 +47,7 @@ require_once INSTALLDIR . '/classes/Memcached_DataObject.php';
  *
  * @see      DB_DataObject
  */
-class Sitemap_user_count extends Memcached_DataObject
+class Sitemap_user_count extends Managed_DataObject
 {
     public $__table = 'sitemap_user_count'; // table name
 
@@ -56,22 +56,6 @@ class Sitemap_user_count extends Memcached_DataObject
     public $created;
     public $modified;
 
-    /**
-     * Get an instance by key
-     *
-     * This is a utility method to get a single instance with a given key value.
-     *
-     * @param string $k Key to use to lookup (usually 'user_id' for this class)
-     * @param mixed  $v Value to lookup
-     *
-     * @return Sitemap_user_count object found, or null for no hits
-     *
-     */
-    function staticGet($k, $v=null)
-    {
-        return Memcached_DataObject::staticGet('Sitemap_user_count', $k, $v);
-    }
-
     /**
      * return table definition for DB_DataObject
      *