Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit 54e9914

Browse files
committed
Vorbereitung Version 2.2.8
1 parent 4160c5c commit 54e9914

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

pcc/lib/core/pcc.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class PCC extends RWF {
2525
*
2626
* @var String
2727
*/
28-
const VERSION = '2.2.7';
28+
const VERSION = '2.2.8';
2929

3030
/**
3131
* Style

rwf/lib/core/rwf.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class RWF {
3333
*
3434
* @var String
3535
*/
36-
const VERSION = '2.2.7';
36+
const VERSION = '2.2.8';
3737

3838
/**
3939
* Einstellungen

shc/lib/core/shc.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class SHC extends RWF {
2929
*
3030
* @var String
3131
*/
32-
const VERSION = '2.2.7';
32+
const VERSION = '2.2.8';
3333

3434
/**
3535
* Sensor Transmitter

update.php

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Update von Version 2.2.3 auf 2.2.4
4+
* Update von Version 2.2.3 auf 2.2.8
55
*
66
* @author Oliver Kleditzsch
77
* @copyright Copyright (c) 2015, Oliver Kleditzsch
@@ -489,6 +489,28 @@ public function listBackgroundColors() {
489489
$pccApiLevel = 16;
490490
}
491491

492+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
493+
// Update v2.2.7 auf v2.2.8 (API Level 16 auf 17) /////////////////////////////////////////////////////////////////////
494+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
495+
496+
//SHC
497+
if($shcInstalled === true && $shcApiLevel == 16) {
498+
499+
//Update Funktionen
500+
501+
//DB Konfiguration in JSON Datei umwandeln
502+
$shcApiLevel = 17;
503+
}
504+
505+
//PCC
506+
if($pccInstalled === true && $pccApiLevel == 16) {
507+
508+
//Update Funktionen
509+
510+
//DB Konfiguration in JSON Datei umwandeln
511+
$pccApiLevel = 17;
512+
}
513+
492514
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
493515
// neue app.json Dateien schreiben /////////////////////////////////////////////////////////////////////////////////////
494516
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)