Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
Activity Profile
Commits
c0251f0d
Commit
c0251f0d
authored
May 12, 2022
by
bgm
Committed by
bgm
May 12, 2022
Browse files
#3
Fix PHP fatal with alterSettingsFolders
parent
2ca20a2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
activityprofile.php
View file @
c0251f0d
<?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 http
s
://
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 http
s
://
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 http
s
://
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 http
s
://
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 http
s
://
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 http
s
://
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 http
s
://
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().
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment