Moodle
  1. Moodle
  2. MDL-23291

mod/wiki/index.php called deprecated functions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Wiki (2.x)
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      27021

      Description

      The following error occurs in mod/wiki/index.php

      • Notice: Undefined variable: cm in /html/mod/wiki/index.php on line 43
      • This page did not call $PAGE->set_url(...). Using http://qa.moodle.net/mod/wiki/index.php?id=3
      • print_table() has been deprecated. Please change your code to use html_writer::table().
      • Print_footer() has been deprecated. Please change your code to use $OUTPUT->footer()

        Activity

        Hide
        Rossiani Wijaya added a comment -

        Added Dongsheng to watcher list.

        Hi Dongsheng,
        I created a patch to fix wiki/index, could you take a look of it and let me know if anything need to be change?

        Thanks
        Rosie

        Show
        Rossiani Wijaya added a comment - Added Dongsheng to watcher list. Hi Dongsheng, I created a patch to fix wiki/index, could you take a look of it and let me know if anything need to be change? Thanks Rosie
        Hide
        Dongsheng Cai added a comment -

        Thanks, Rosie, it looks good

        Show
        Dongsheng Cai added a comment - Thanks, Rosie, it looks good
        Hide
        Rossiani Wijaya added a comment -

        Thanks DS!

        Commit patch to moodle 2.0.

        Show
        Rossiani Wijaya added a comment - Thanks DS! Commit patch to moodle 2.0.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: