Move .permissions.php and .listAll.php
[civicrm-core.git] / api / api.php
index 16b3e30391390a5f893b6982967b0599b58eb476..4f3bf9c40878c53f255665b41c11a6370f88f263 100644 (file)
@@ -533,7 +533,7 @@ function _civicrm_api_get_entity_name_from_camel($entity) {
 function _civicrm_api_get_entity_name_from_dao($bao){
   $daoName = str_replace("BAO", "DAO", get_class($bao));
   $dao = array();
-  require ('CRM/Core/DAO/.listAll.php');
+  require ('CRM/Core/DAO/listAll.php');
   $daos = array_flip($dao);
   return _civicrm_api_get_entity_name_from_camel($daos[$daoName]);