Skip to content

Commit

Permalink
Code formatting for whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
bugfolder committed Nov 13, 2023
1 parent 98467b8 commit 86a7225
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
5 changes: 2 additions & 3 deletions profile.block.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* ProfileBlock extends Block
*
Expand All @@ -17,7 +16,8 @@ class ProfileBlock extends Block {

$children = $this->getChildren();
$title = $children[$this->childDelta]['info'];
return strlen($this->settings['title']) ? check_plain($this->settings['title']) : $title; }
return strlen($this->settings['title']) ? check_plain($this->settings['title']) : $title;
}

/**
* Sets block subject on block view.
Expand Down Expand Up @@ -59,7 +59,6 @@ class ProfileBlock extends Block {
'description' => t('Provides Profile data as blocks.'),
);
}

return $blocks;
}
}
1 change: 0 additions & 1 deletion profile.devel.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Profile type editing UI.
*/


/**
* Generate profile
*/
Expand Down
6 changes: 0 additions & 6 deletions profile.install
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
function profile_install() {
}


/**
* Implements hook_schema().
*/
Expand Down Expand Up @@ -74,7 +73,6 @@ function profile_schema() {
return $schema;
}


/**
* Implements hook_uninstall().
*/
Expand All @@ -87,7 +85,6 @@ function profile_uninstall() {
}
}


/**
* Implements hook_requirements().
*
Expand All @@ -105,7 +102,6 @@ function profile_requirements($phase) {
return array();
}


/**
* Implements hook_update_dependencies().
*
Expand All @@ -120,15 +116,13 @@ function profile_update_dependencies() {
);
}


/**
* Initialize the profile settings to use fieldsets.
*/
function profile_update_1000() {
config_set('profile.settings', 'profile_display', 'fieldsets');
}


/**
* Migrate any existing Profile2 profiles into this module.
*/
Expand Down
1 change: 0 additions & 1 deletion profile.module
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,6 @@ function profile_user_get_properties($account, array $options, $name) {
return $profile ? $profile : NULL;
}


/**
* Return class autoload information.
*/
Expand Down

0 comments on commit 86a7225

Please sign in to comment.