Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23291

mod/wiki/index.php called deprecated functions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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()

        Gliffy Diagrams

          Activity

          Hide
          rwijaya 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
          rwijaya 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 Dongsheng Cai added a comment -

          Thanks, Rosie, it looks good

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

          Thanks DS!

          Commit patch to moodle 2.0.

          Show
          rwijaya 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:
                Fix Release Date:
                24/Nov/10