]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Poll/Poll.php
pkeyGet is now static and more similar to getKV
[quix0rs-gnu-social.git] / plugins / Poll / Poll.php
index 6cc38f7435dd2ed148b221fc44fc97cc1fb04505..213bab492479f85bfae2dea18e733ab2371ebc3b 100644 (file)
@@ -53,23 +53,6 @@ class Poll extends Managed_DataObject
     public $options;     // text; newline(?)-delimited
     public $created;     // datetime
 
-    /**
-     * Get an instance by compound key
-     *
-     * This is a utility method to get a single instance with a given set of
-     * key-value pairs. Usually used for the primary key for a compound key; thus
-     * the name.
-     *
-     * @param array $kv array of key-value mappings
-     *
-     * @return Bookmark object found, or null for no hits
-     *
-     */
-    function pkeyGet($kv)
-    {
-        return Memcached_DataObject::pkeyGet('Poll', $kv);
-    }
-
     /**
      * The One True Thingy that must be defined and declared.
      */