+
+ function _pathToChannel($path)
+ {
+ if (!empty($this->prefix)) {
+ array_unshift($path, $this->prefix);
+ }
+ return '/' . implode('/', $path);
+ }
+
+ function onPluginVersion(array &$versions)
+ {
+ $versions[] = array('name' => 'Comet',
+ 'version' => GNUSOCIAL_VERSION,
+ 'author' => 'Evan Prodromou',
+ 'homepage' => 'http://status.net/wiki/Plugin:Comet',
+ 'rawdescription' =>
+ // TRANS: Plugin description message. Bayeux is a protocol for transporting asynchronous messages
+ // TRANS: and Comet is a web application model.
+ _m('Plugin to make updates using Comet and Bayeux.'));
+ return true;
+ }