• Fire a Flarum deprecation warning which is shown in the JS console.

    These warnings are only shown when the forum is in debug mode, and the function exists to reduce bundle size caused by multiple warnings across our JavaScript.

    See

    fireDebugWarning

    Parameters

    • message: string

      The message to display. (Short, but sweet, please!)

    • githubId: string

      The PR or Issue ID with more info in relation to this change.

    • Optional removedFrom: string = '2.0'

      The version in which this feature will be completely removed. (default: 2.0)

    • Optional repo: string = 'flarum/core'

      The repo which the issue or PR is located in. (default: flarum/core)

    Returns void

Generated using TypeDoc v0.23.24