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

[6.x] Delete existing links that are broken #36470

Merged
merged 1 commit into from
Mar 5, 2021

Commits on Mar 4, 2021

  1. Delete existing links that are broken

    When a link exists but is broken, `file_exists($link)` return false. And
    when `symlink($link, $target)` is called on a broken link, a PHP Warning
    is returned and the link is not updated. To fix this, we add an
    additional check using `is_link($link)` (which return true, even if the
    link is broken) to detect and delete broken links.
    pgrenaud committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    4876bfd View commit details
    Browse the repository at this point in the history