Remove unused variable

Created on 13 January 2023, almost 2 years ago
Updated 18 January 2023, almost 2 years ago

Problem/Motivation

Checking the code found reference to an unused variable in file page_body_atrributes.module line 37.

  // unused variable $pages
  $pages = $value['pages'];

Steps to reproduce

Check the code in file page_body_atrributes.module function page_body_attributes_preprocess_html

Proposed resolution

Remove the unused variable $pages

Remaining tasks

Create a patch and test

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India vishwac9

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Fixed almost 2 years ago
  • Status changed to Fixed almost 2 years ago
Production build 0.71.5 2024