From 36b4c8a71fd29949f80d7c1ff6c676d4eb5376ce Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 14 Jan 2010 22:53:44 -0700 Subject: [PATCH] Remove old CVS-related code --- framework/Core/lib/Horde/Config.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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; } /** -- 2.11.0