Remove old CVS-related code
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 15 Jan 2010 05:53:44 +0000 (22:53 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 15 Jan 2010 06:54:36 +0000 (23:54 -0700)
framework/Core/lib/Horde/Config.php

index f8bae30..f09d608 100644 (file)
@@ -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;
     }
 
     /**