Deprecate system_check_directory()

Created on 9 August 2019, over 5 years ago
Updated 17 January 2025, 3 months ago

Problem/Motivation

system_check_directory() is only used in one place in core, in locale_form_system_file_system_settings_alter(), but its loaded on every request.

http://codcontrib.hank.vps-private.net/search?text=system_check_director...

Proposed resolution

Deprecated it without replacement because there's only 8 usages found in contrib

Remaining tasks

- patch/review
- update CR
- commit

User interface changes

no

API changes

The system_check_directory() is deprecated

Data model changes

no

Release notes snippet

no

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated about 18 hours ago

Created by

πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

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

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Believe this is still valid.

  • Pipeline finished with Failed
    3 months ago
    Total: 176s
    #398911
  • Pipeline finished with Failed
    3 months ago
    Total: 248s
    #399025
  • πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne

    Rerolled in MR. Please leave review comments in MR.

  • Pipeline finished with Failed
    3 months ago
    Total: 608s
    #399033
  • Pipeline finished with Failed
    3 months ago
    Total: 132s
    #400157
  • Pipeline finished with Failed
    3 months ago
    Total: 622s
    #400162
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Small comment on MR

    Looking at the CR, believe it should be fine but personally I'm big fan of before/after snippets.

    Super close and will keep an eye out for this one.

    If you are another contributor eager to jump in, please allow the previous poster at least 48 hours to respond to feedback first, so they have the opportunity to finish what they started!

  • Pipeline finished with Success
    3 months ago
    Total: 371s
    #400672
  • πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne

    Addressed review comments and updated CR

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thanks feedback appears to be addressed

  • πŸ‡¬πŸ‡§United Kingdom catch

    One comment on the MR.

  • Pipeline finished with Failed
    2 months ago
    Total: 128s
    #403944
  • Pipeline finished with Failed
    2 months ago
    Total: 131s
    #403947
  • πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne

    Introduced logger channel as a dependency

  • Pipeline finished with Failed
    2 months ago
    Total: 414s
    #403950
  • πŸ‡ΊπŸ‡ΈUnited States nicxvan

    A bunch of failures looks like a service is wrong.

  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    The reason that only locale still uses this function is that we moved configuration of private/public/tmp stream wrappers to Settings in settings.php.

    What if we do the same instead with this locale setting? Then we don't need any replacements.

    (I had some concerns about removing as there are a handful of modules using this based on code search. But only 2 of those have a release that works on a supported core version, l10n_server and library_manager) and those don't seem to use it in current versions. So should be OK).

  • πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

    What if we do the same instead with this locale setting? Then we don't need any replacements.

    That sounds great!

Production build 0.71.5 2024