From: Tim Otten Date: Wed, 27 Jul 2016 07:35:53 +0000 (-0700) Subject: CRM-14885 - CRM_Core_CodeGen_Main - Remove unused functions X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6ee47b5e45d1f467429a1310247026fc174faec5;p=civicrm-core.git CRM-14885 - CRM_Core_CodeGen_Main - Remove unused functions --- diff --git a/CRM/Core/CodeGen/Main.php b/CRM/Core/CodeGen/Main.php index bb33c75608..51b741310d 100644 --- a/CRM/Core/CodeGen/Main.php +++ b/CRM/Core/CodeGen/Main.php @@ -126,28 +126,6 @@ Alternatively you can get a version of CiviCRM that matches your PHP version return $tasks; } - /** - * @return array - */ - public function getExpectedFiles() { - return array( - $this->sqlCodePath . '/civicrm.mysql', - $this->phpCodePath . '/CRM/Contact/DAO/Contact.php', - ); - } - - /** - * @return bool - */ - public function hasExpectedFiles() { - foreach ($this->getExpectedFiles() as $file) { - if (!file_exists($file)) { - return FALSE; - } - } - return TRUE; - } - /** * Compute a digest based on the GenCode logic (PHP/tpl). *