[REF] dev/core#2790 Initial creation of pdf trait
[civicrm-core.git] / CRM / Case / Info.php
index d3f60610289db2f34f8281837b62b80f8de0cc05..582fdd07e5350904930ff6630bd58d5d24d507aa 100644 (file)
@@ -239,9 +239,6 @@ class CRM_Case_Info extends CRM_Core_Component_Info {
     ) {
       $pathToCaseSampleTpl = __DIR__ . '/xml/configuration.sample/';
       self::loadCaseSampleData($pathToCaseSampleTpl . 'case_sample.mysql.tpl');
-      if (!CRM_Case_BAO_Case::createCaseViews()) {
-        throw new CRM_Core_Exception(ts("Could not create the MySQL views for CiviCase. Your mysql user needs to have the 'CREATE VIEW' permission"));
-      }
     }
   }