Added support for long-term backwards compatibility
This commit is contained in:
parent
d14e090bc7
commit
76f4815d4e
2 changed files with 4 additions and 3 deletions
|
@ -131,11 +131,11 @@ system/themes/stockholm-opensans-light.woff: stockholm-opensans-light.woff, crea
|
|||
system/themes/stockholm-opensans-regular.woff: stockholm-opensans-regular.woff, create, update, careful
|
||||
|
||||
Extension: Update
|
||||
Version: 0.8.75
|
||||
Version: 0.8.76
|
||||
Description: Keep your website up to date.
|
||||
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/update
|
||||
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/update.zip
|
||||
Published: 2022-05-05 10:29:50
|
||||
Published: 2022-05-06 18:38:21
|
||||
Developer: Datenstrom
|
||||
Tag: feature
|
||||
system/extensions/update.php: update.php, create, update
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Update extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/update
|
||||
|
||||
class YellowUpdate {
|
||||
const VERSION = "0.8.75";
|
||||
const VERSION = "0.8.76";
|
||||
const PRIORITY = "2";
|
||||
public $yellow; // access to API
|
||||
public $extensions; // number of extensions
|
||||
|
@ -353,6 +353,7 @@ class YellowUpdate {
|
|||
public function updatePatchPending() {
|
||||
$fileName = $this->yellow->system->get("coreExtensionDirectory")."update-patch.bin";
|
||||
if (is_file($fileName)) {
|
||||
if ($this->yellow->system->get("coreDebugMode")>=2) echo "YellowUpdate::updatePatchPending file:$fileName<br/>\n";
|
||||
if (!$this->yellow->extension->isExisting("patch")) {
|
||||
require_once($fileName);
|
||||
$this->yellow->extension->register("patch", "YellowPatch");
|
||||
|
|
Loading…
Add table
Reference in a new issue