mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 65c3b3e855261b76074a53ea73bd32a96d23256e
parent 2722b43475aac7128bac09b943a6d501ba2de00a
Author: markseu <mark2011@mayberg.se>
Date:   Sun, 21 Jun 2020 22:16:34 +0200

Refactored command extension, small change for new API

Diffstat:
Msystem/extensions/command.php | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/system/extensions/command.php b/system/extensions/command.php @@ -4,7 +4,7 @@ // This file may be used and distributed under the terms of the public license. class YellowCommand { - const VERSION = "0.8.13"; + const VERSION = "0.8.14"; const TYPE = "feature"; const PRIORITY = "3"; public $yellow; //access to API @@ -56,8 +56,7 @@ class YellowCommand { // Process command to show website version and updates public function processCommandAbout($args) { - $serverVersion = $this->yellow->toolbox->getServerVersion(); - echo "Datenstrom Yellow ".YellowCore::VERSION.", PHP ".PHP_VERSION.", $serverVersion\n"; + echo "Datenstrom Yellow ".YellowCore::VERSION."\n"; list($statusCode, $dataCurrent) = $this->getExtensionsVersion(); list($statusCode, $dataLatest) = $this->getExtensionsVersion(true); foreach ($dataCurrent as $key=>$value) {