mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 10:00:41 +00:00
check if $extconfs[$extname] exists
This commit is contained in:
parent
239586ed87
commit
8b60aea55d
|
|
@ -88,7 +88,7 @@ class DownloadextensionCommand extends Command
|
|||
if ($tmpfile = $extmgr->getExtensionFromRepository($extversions[$extversion]['filename'])) {
|
||||
$output->writeln(sprintf("<info>Downloaded extension file '%s'</info>", $extversions[$extversion]['filename']));
|
||||
if (!$noupload) {
|
||||
if ($extconfs[$extname]) {
|
||||
if (isset($extconfs[$extname])) {
|
||||
if (\Seeddms\Seeddms\ExtensionMgr::cmpVersion($extconfs[$extname]['version'], $extversion) > 0) {
|
||||
$helper = new QuestionHelper();
|
||||
$question = new ConfirmationQuestion(sprintf("<question>You are updating extension '%s' with an older version %s < %s. Do you want to proceed?</question> ", $extname, $extversion, $extconfs[$extname]['version']), false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user