]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/QnA/classes/QnA_Vote.php
Plugins with classes that extend Managed_DataObject get better code reuse
[quix0rs-gnu-social.git] / plugins / QnA / classes / QnA_Vote.php
index cbb8a717c94a32692fb7f1a6c451f08bf3d5ad9d..025f6b0c6be558dcb31d31aca7f7959eb29efcd1 100644 (file)
@@ -55,22 +55,6 @@ class QnA_Vote extends Managed_DataObject
     public $profile_id;  // int -> question.id
     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
-     * @param mixed  $v Value to lookup
-     *
-     * @return QnA_Vote object found, or null for no hits
-     *
-     */
-    function staticGet($k, $v=null)
-    {
-        return Memcached_DataObject::staticGet('QnA_Vote', $k, $v);
-    }
-
     /**
      * Get an instance by compound key
      *