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

Remove second unused param from add_association api in class blog_entry

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.9
    • 2.6
    • Blog
    • MOODLE_26_STABLE
    • MOODLE_29_STABLE
    • MDL-43004-master
    • Hide
      1. Add the blog menu block to a course
      2. Create a new blog entry about this course
      3. Make sure the post was associated with the course
      4. Make sure there were no notices/warning/errors
      5. Grep the code for add_association and add_associations and make sure they are respectively using 1 and 0 arguments.
      6. Run blog/tests/bloglib_test.php
      Show
      Add the blog menu block to a course Create a new blog entry about this course Make sure the post was associated with the course Make sure there were no notices/warning/errors Grep the code for add_association and add_associations and make sure they are respectively using 1 and 0 arguments. Run blog/tests/bloglib_test.php
    • BACKEND Sprint 19

      blog_entry->add_associations($action = null)
      blog_entry->add_association($contextid, $action = null)

      $action should be removed from both apis

            fred Frédéric Massart
            ankit_frenz Ankit Agarwal
            Ankit Agarwal Ankit Agarwal
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.