Commit c0251f0d authored by bgm's avatar bgm Committed by bgm
Browse files

#3 Fix PHP fatal with alterSettingsFolders

parent 2ca20a2d
<?php
require_once 'activityprofile.civix.php';
// phpcs:disable
use CRM_Activityprofile_ExtensionUtil as E;
// phpcs:enable
/**
* Implements hook_civicrm_config().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config/
*/
function activityprofile_civicrm_config(&$config) {
_activityprofile_civix_civicrm_config($config);
}
/**
* Implements hook_civicrm_xmlMenu().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
*/
function activityprofile_civicrm_xmlMenu(&$files) {
_activityprofile_civix_civicrm_xmlMenu($files);
}
/**
* Implements hook_civicrm_install().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
*/
function activityprofile_civicrm_install() {
_activityprofile_civix_civicrm_install();
......@@ -33,7 +26,7 @@ function activityprofile_civicrm_install() {
/**
* Implements hook_civicrm_postInstall().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_postInstall
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_postInstall
*/
function activityprofile_civicrm_postInstall() {
_activityprofile_civix_civicrm_postInstall();
......@@ -42,7 +35,7 @@ function activityprofile_civicrm_postInstall() {
/**
* Implements hook_civicrm_uninstall().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_uninstall
*/
function activityprofile_civicrm_uninstall() {
_activityprofile_civix_civicrm_uninstall();
......@@ -51,7 +44,7 @@ function activityprofile_civicrm_uninstall() {
/**
* Implements hook_civicrm_enable().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable
*/
function activityprofile_civicrm_enable() {
_activityprofile_civix_civicrm_enable();
......@@ -60,7 +53,7 @@ function activityprofile_civicrm_enable() {
/**
* Implements hook_civicrm_disable().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_disable
*/
function activityprofile_civicrm_disable() {
_activityprofile_civix_civicrm_disable();
......@@ -69,7 +62,7 @@ function activityprofile_civicrm_disable() {
/**
* Implements hook_civicrm_upgrade().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade
*/
function activityprofile_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
return _activityprofile_civix_civicrm_upgrade($op, $queue);
......@@ -87,15 +80,6 @@ function activityprofile_civicrm_managed(&$entities) {
_activityprofile_civix_civicrm_managed($entities);
}
/**
* Implements hook_civicrm_alterSettingsFolders().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
*/
function activityprofile_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
_activityprofile_civix_civicrm_alterSettingsFolders($metaDataFolders);
}
/**
* Implements hook_civicrm_apiWrappers().
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment