]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Realtime/Realtime_channel.php
Plugins with classes that extend Managed_DataObject get better code reuse
[quix0rs-gnu-social.git] / plugins / Realtime / Realtime_channel.php
index 1d2ca53912acba22c202352cec45b41b949e3e24..3538e884a01d463245533cceb879be228a24e5db 100644 (file)
@@ -61,21 +61,6 @@ class Realtime_channel extends Managed_DataObject
     public $created;       // created date
     public $modified;      // modified date
 
-    /**
-     * 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 Realtime_channel object found, or null for no hits
-     */
-    function staticGet($k, $v=null)
-    {
-        return Managed_DataObject::staticGet('Realtime_channel', $k, $v);
-    }
-
     /**
      * Get an instance by compound key
      *