Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Do not merge) Provoke test run #676

Draft
wants to merge 3 commits into
base: 7.x-master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions civicrm.module
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ function civicrm_permission() {
/**
* Implements hook_block_info().
*/
function civicrm_block_info() {
function civicrm_block_info()

{
if (!civicrm_initialize()) {
return [];
}
Expand All @@ -100,7 +102,7 @@ function civicrm_block_info() {
* Implements hook_block_view().
*/
function civicrm_block_view($delta = '0') {
if (!civicrm_initialize()) {
if (! civicrm_initialize()) {
return array();
}
$block = CRM_Core_Block::getContent($delta);
Expand Down Expand Up @@ -1249,7 +1251,7 @@ function civicrm_modules_installed($modules) {
* Implements hook_modules_enabled().
*/
function civicrm_modules_enabled($modules) {
if (!civicrm_initialize()) {
if (! civicrm_initialize()) {
return;
}
CRM_Core_Invoke::rebuildMenuAndCaches(TRUE);
Expand Down