From: Michael M Slusarz Date: Fri, 15 Jan 2010 05:53:44 +0000 (-0700) Subject: Remove old CVS-related code X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=36b4c8a71fd29949f80d7c1ff6c676d4eb5376ce;p=horde.git Remove old CVS-related code --- diff --git a/framework/Core/lib/Horde/Config.php b/framework/Core/lib/Horde/Config.php index f8bae30ef..f09d608e9 100644 --- a/framework/Core/lib/Horde/Config.php +++ b/framework/Core/lib/Horde/Config.php @@ -158,14 +158,9 @@ class Horde_Config */ static public function getVersion($text) { - // @TODO: Old CVS tag - if (preg_match('/\$.*?conf\.xml,v .*? .*\$/', $text, $match) || - // New Git tag - preg_match('/\$Id:\s*[0-9a-f]+\s*\$/', $text, $match)) { - return $match[0]; - } - - return false; + return preg_match('/\$Id:\s*[0-9a-f]+\s*\$/', $text, $match) + ? $match[0] + : false; } /**