X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FMeteor%2FMeteorPlugin.php;h=64c2fd3d6902b39e3c36e89a683ce3c6fae02ba4;hb=1e5232502571dcb1e8f107b9d27c54d91f0b8692;hp=c7d648ed1635798c38f719ab371b36ae6ce91ad4;hpb=f0fafd3886758fe9682e0ab69e597f15690f2643;p=quix0rs-gnu-social.git diff --git a/plugins/Meteor/MeteorPlugin.php b/plugins/Meteor/MeteorPlugin.php index c7d648ed16..64c2fd3d69 100644 --- a/plugins/Meteor/MeteorPlugin.php +++ b/plugins/Meteor/MeteorPlugin.php @@ -104,10 +104,10 @@ class MeteorPlugin extends RealtimePlugin { $script = parent::_updateInitialize($timeline, $user_id); $ours = sprintf("MeteorUpdater.init(%s, %s, %s, %s);", - json_encode($this->webserver), - json_encode($this->webport), - json_encode($this->protocol), - json_encode($timeline)); + json_encode($this->webserver), + json_encode($this->webport), + json_encode($this->protocol), + json_encode($timeline)); return $script." ".$ours; } @@ -160,7 +160,7 @@ class MeteorPlugin extends RealtimePlugin return implode('-', $path); } - function onPluginVersion(&$versions) + function onPluginVersion(array &$versions) { $versions[] = array('name' => 'Meteor', 'version' => GNUSOCIAL_VERSION,