diff --git a/CRM/Upgrade/Form.php b/CRM/Upgrade/Form.php index 9da28740a5ab..e139f1ba6fbe 100644 --- a/CRM/Upgrade/Form.php +++ b/CRM/Upgrade/Form.php @@ -310,19 +310,6 @@ public function getRevisionSequence() { return $revList; } - /** - * @param $rev - * @param int $index - * - * @return null - */ - public static function getRevisionPart($rev, $index = 1) { - $revPattern = '/^((\d{1,2})\.\d{1,2})\.(\d{1,2}|\w{4,7})?$/i'; - preg_match($revPattern, $rev, $matches); - - return array_key_exists($index, $matches) ? $matches[$index] : NULL; - } - /** * @param $tplFile * @param $rev