From f08be119e6cf15ec51b33c3ec54d78819c47040f Mon Sep 17 00:00:00 2001 From: Peter Jaap Blaakmeer Date: Thu, 1 Nov 2012 11:32:51 +0100 Subject: [PATCH] Added the 'edition' parameter to getVersion() and getVersionInfo() to make it easier for developers to distinguish between Community and Enterprise editions --- app/Mage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Mage.php b/app/Mage.php index ea98d1155c1b9..3a8b9b7162591 100644 --- a/app/Mage.php +++ b/app/Mage.php @@ -132,7 +132,7 @@ public static function getVersion() { $i = self::getVersionInfo(); return trim("{$i['major']}.{$i['minor']}.{$i['revision']}" . ($i['patch'] != '' ? ".{$i['patch']}" : "") - . "-{$i['stability']}{$i['number']}", '.-'); + . "-{$i['stability']}{$i['number']}{$i['edition']}", '.-'); } /** @@ -150,6 +150,7 @@ public static function getVersionInfo() 'patch' => '0', 'stability' => 'dev', 'number' => '29', + 'edition' => 'CE', ); }