From b27ed6825a8c48a124982f7fa791197e210a7b96 Mon Sep 17 00:00:00 2001 From: markseu Date: Sun, 18 Mar 2018 00:00:35 +0100 Subject: [PATCH] Updated plugins, snow remix --- system/plugins/command.php | 1 - system/plugins/core.php | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/system/plugins/command.php b/system/plugins/command.php index 9714671..e8be6a7 100644 --- a/system/plugins/command.php +++ b/system/plugins/command.php @@ -316,7 +316,6 @@ class YellowCommand { $serverVersion = $this->yellow->toolbox->getServerVersion(); echo "Datenstrom Yellow ".YellowCore::VERSION.", PHP ".PHP_VERSION.", $serverVersion\n"; - list($command) = $args; list($statusCode, $dataCurrent) = $this->getSoftwareVersion(); list($statusCode, $dataLatest) = $this->getSoftwareVersion(true); foreach($dataCurrent as $key=>$value) diff --git a/system/plugins/core.php b/system/plugins/core.php index 8eca842..d48de90 100755 --- a/system/plugins/core.php +++ b/system/plugins/core.php @@ -3143,10 +3143,9 @@ class YellowToolbox // Return lines from text string, including newline function getTextLines($text) { - $lines = array(); - $split = preg_split("/(\R)/u", $text, -1, PREG_SPLIT_DELIM_CAPTURE); - for($i=0; $i