Skip to content

Commit

Permalink
Code style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
laceysanderson committed Nov 12, 2019
1 parent b3570bd commit f4e8066
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ function tripal_hq_import_list_importers_page() {
$importer_description = $importer_class::$description;

// Publication importer is not supported.
if ($importer_class == 'PubBulkImporter' OR $importer_class == 'OBOImporter') {
if ($importer_class == 'PubBulkImporter' or $importer_class == 'OBOImporter') {
continue;
}

// Ensure the user has permission to propose that file type.
if (($user->uid === 0) or (!user_access("propose $importer_label"))) {
continue;
Expand Down Expand Up @@ -84,7 +84,7 @@ function tripal_hq_user_importer_form(array $form, array &$form_state) {
global $user;

// Tripal Bulk publication importer not supported.
if ($importer_class == 'PubBulkImporter' OR $importer_class == 'OBOImporter') {
if ($importer_class == 'PubBulkImporter' or $importer_class == 'OBOImporter') {
return drupal_not_found();
}

Expand Down
2 changes: 1 addition & 1 deletion tripal_hq_imports/tripal_hq_imports.module
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function tripal_hq_imports_permission() {
$importer_description = $importer_class::$description;

// Publication importer is not supported.
if ($importer_class == 'PubBulkImporter' OR $importer_class == 'OBOImporter') {
if ($importer_class == 'PubBulkImporter' or $importer_class == 'OBOImporter') {
continue;
}

Expand Down

0 comments on commit f4e8066

Please sign in to comment.