Updated extension

This commit is contained in:
markseu 2022-10-31 10:58:44 +01:00
parent cbbfde1308
commit fa5bbab36b
2 changed files with 4 additions and 4 deletions

View file

@ -121,11 +121,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.87
Version: 0.8.88
Description: Keep your website up to date.
DocumentationUrl: https://github.com/annaesvensson/yellow-update
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/update.zip
Published: 2022-10-30 00:32:55
Published: 2022-10-30 23:20:51
Developer: Anna Svensson
Tag: feature
system/extensions/update.php: update.php, create, update

View file

@ -2,7 +2,7 @@
// Update extension, https://github.com/annaesvensson/yellow-update
class YellowUpdate {
const VERSION = "0.8.87";
const VERSION = "0.8.88";
const PRIORITY = "2";
public $yellow; // access to API
public $extensions; // number of extensions
@ -201,7 +201,7 @@ class YellowUpdate {
$this->updateEventPending();
$statusCode = $this->updateExtensionPending();
if ($statusCode==303) {
echo "Detected ZIP-file".($this->extensions!=1 ? "s" : "");
echo "Detected ZIP file".($this->extensions!=1 ? "s" : "");
echo ", $this->extensions extension".($this->extensions!=1 ? "s" : "")." installed. Please run command again.\n";
}
return $statusCode;