Skip to content

Commit

Permalink
[CoreBundle] drop support for build-number
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Nov 27, 2017
1 parent 5645b90 commit 007a128
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions src/CoreShop/Bundle/CoreBundle/Application/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,4 @@ public static function getVersion()

return $version;
}

public static function getBuild()
{
return self::BUILD_VERSION;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ public function getSettingsAction(Request $request)
{
$settings = [
'bundle' => [
'version' => Version::getVersion(),
'build' => Version::getBuild(),
'version' => Version::getVersion()
],
'reports' => array_values($this->getParameter('coreshop.reports'))
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ coreshop.helpers.showAbout = function () {
var html = '<div class="pimcore_about_window">';
html += '<br><img src="/bundles/coreshopcore/pimcore/img/logo.svg" style="width: 60px;"><br>';
html += '<br><b>Version: ' + coreshop.settings.bundle.version + '</b>';
html += '<br><b>Build: ' + coreshop.settings.bundle.build + '</b>';
html += '<br><br>&copy; by Dominik Pfaffenbauer, Wels, Austria (<a href="https://www.coreshop.org/" target="_blank">coreshop.org</a>)';
html += '<br><br><a href="https://github.com/coreshop/coreshop/blob/master/LICENSE.md" target="_blank">License</a> | ';
html += '<a href="https://www.coreshop.org/contact.html" target="_blank">Contact</a>';
Expand Down

0 comments on commit 007a128

Please sign in to comment.