]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/NoticeTitle/Notice_title.php
Updating all Memcached_DataObject extended classes to Managed_DataObject
[quix0rs-gnu-social.git] / plugins / NoticeTitle / Notice_title.php
index 4030b5c965579578e783461f694d8a0eba70ee29..17dc8bdd1e2e1b70a15886144bbbc30fbbb06bc1 100644 (file)
@@ -44,7 +44,7 @@ require_once INSTALLDIR . '/classes/Memcached_DataObject.php';
  *
  * @see      DB_DataObject
  */
-class Notice_title extends Memcached_DataObject
+class Notice_title extends Managed_DataObject
 {
     const MAXCHARS = 255;
 
@@ -52,22 +52,6 @@ class Notice_title extends Memcached_DataObject
     public $notice_id;                         // int(4)  primary_key not_null
     public $title;                             // varchar(255)
 
-    /**
-     * 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 Notice_title object found, or null for no hits
-     *
-     */
-    function staticGet($k, $v=null)
-    {
-        return Memcached_DataObject::staticGet('Notice_title', $k, $v);
-    }
-
     /**
      * return table definition for DB_DataObject
      *