Skip to content

Fix: Remove useless function #584

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

Merged
merged 1 commit into from
Jul 2, 2022
Merged

Fix: Remove useless function #584

merged 1 commit into from
Jul 2, 2022

Conversation

localheinz
Copy link
Contributor

This pull request

  • removes a useless function manual_header()

Copy link
Member

@kamil-tekiela kamil-tekiela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM I wonder though if it impacts translations.

@localheinz
Copy link
Contributor Author

@kamil-tekiela

LGTM I wonder though if it impacts translations.

How can I find out if any of them is using this stuff?

@cmb69
Copy link
Member

cmb69 commented Jun 28, 2022

That would break the manual, since every single manual page calls this function. Note that files under manual/en are just a few examples; the actual files are rendered by PhD, and there we would need to delete this line: https://github.com/php/phd/blob/c3868a838e5029e7cbe39868a1c146e9b81c4986/phpdotnet/phd/Package/PHP/Web.php#L207

After that has been done, and the manual has been successfully rebuilt (happens every 4 or 6 hours), we can merge this PR.

@kamil-tekiela
Copy link
Member

I thought so. Let's leave it as it is for now.

@localheinz
Copy link
Contributor Author

@cmb69 @kamil-tekiela

See php/phd#66!

@cmb69 cmb69 mentioned this pull request Jul 2, 2022
1 task
@cmb69 cmb69 merged commit c3f9653 into php:master Jul 2, 2022
@localheinz localheinz deleted the fix/useless branch July 2, 2022 10:26
@localheinz
Copy link
Contributor Author

Thank you, @cmb69 and @kamil-tekiela!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants