Skip to content

Commit

Permalink
[4] missing changelog when discover a plugin/module/template (#38372)
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon committed Sep 15, 2022
1 parent ebf8b5a commit 1d3ca40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/src/Installer/Adapter/ModuleAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ protected function storeExtension()
$this->extension->name = $manifest_details['name'];
$this->extension->enabled = 1;
$this->extension->params = $this->parent->getParams();
$this->extension->changelogurl = (string) $this->manifest->changelogurl;

if (!$this->extension->store()) {
// Install failed, roll back changes
Expand Down
1 change: 1 addition & 0 deletions libraries/src/Installer/Adapter/PluginAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ protected function storeExtension()
$this->extension->name = $manifest_details['name'];
$this->extension->enabled = 'editors' === $this->extension->folder ? 1 : 0;
$this->extension->params = $this->parent->getParams();
$this->extension->changelogurl = (string) $this->manifest->changelogurl;

if (!$this->extension->store()) {
// Install failed, roll back changes
Expand Down
1 change: 1 addition & 0 deletions libraries/src/Installer/Adapter/TemplateAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ protected function storeExtension()
$this->extension->name = $manifest_details['name'];
$this->extension->enabled = 1;
$this->extension->params = $this->parent->getParams();
$this->extension->changelogurl = (string) $this->manifest->changelogurl;

if (!$this->extension->store()) {
// Install failed, roll back changes
Expand Down

0 comments on commit 1d3ca40

Please sign in to comment.