Skip to content

CAppUI::readFiles(), checkFileName() and loadCalendarJS() say they were removed in v4.0/v5.0 but still exist #465

Closed

Description

@caseysoftware

dev-5.0.0 still ships these CAppUI methods, and each logs a notice that says it is already past its removal date:

Method Notice
readFiles() (classes/w2p/Core/CAppUI.class.php L304) "deprecated in v3.0 and will be removed by v4.0. Please use w2p_FileSystem_Loader->readFiles()"
checkFileName() (L313) "deprecated in v3.0 and will be removed by v4.0. Please use w2p_FileSystem_Loader->checkFileName()"
loadCalendarJS() (L1125) "deprecated in v3.2 and will be removed in v5.0" (no replacement named; it is $AppUI->getTheme()->loadCalendarJS())

Core doesn't call any of them any more (the reports module already uses w2p_FileSystem_Loader). Add-ons still do: HelpDesk calls all three.

Options:

  1. Remove them in 5.0, and add them to the removed-functions table in the manual's Updating Add On Modules for v5.0 section.
  2. Keep them for 5.0 and change the notices to "will be removed in v6.0", naming the replacement for loadCalendarJS().

Either is a few lines; the choice is the release policy.

Activity

  1. added
    php
    on Oct 23, 2026
  2. added a commit that references this issue on Oct 24, 2026
    d962bda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityphp

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions