]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Blacklist/Homepage_blacklist.php
Updating all Memcached_DataObject extended classes to Managed_DataObject
[quix0rs-gnu-social.git] / plugins / Blacklist / Homepage_blacklist.php
index 2820294fa26f108a4d3610896fa0db78fdab4d24..99a6786de42ebd84789ee0bfcb9812e02afe50be 100644 (file)
@@ -44,28 +44,12 @@ require_once INSTALLDIR . '/classes/Memcached_DataObject.php';
  *
  * @see      DB_DataObject
  */
-class Homepage_blacklist extends Memcached_DataObject
+class Homepage_blacklist extends Managed_DataObject
 {
     public $__table = 'homepage_blacklist'; // table name
     public $pattern;                        // string pattern
     public $created;                        // datetime
 
-    /**
-     * 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 Homepage_blacklist object found, or null for no hits
-     *
-     */
-    function staticGet($k, $v=null)
-    {
-        return Memcached_DataObject::staticGet('Homepage_blacklist', $k, $v);
-    }
-
     /**
      * return table definition for DB_DataObject
      *