Config: drop packing of arrays

we don't handle arrays on decode, so there's no reason to support them on encode either.
This commit is contained in:
Dylan K. Taylor 2021-10-07 20:30:56 +01:00
parent 32fd9879e5
commit 1be9b2f037
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -529,8 +529,6 @@ class Config{
foreach($this->config as $k => $v){
if(is_bool($v)){
$v = $v ? "on" : "off";
}elseif(is_array($v)){
$v = implode(";", $v);
}
$content .= $k . "=" . $v . "\r\n";
}