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

tag_get_tags() is inaccurately named

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.3
    • None
    • Tags
    • Any
    • MOODLE_20_STABLE

    Description

      tag_get_tags is actually returning tag instances from the tag_instance table rather than that tag table. It should be renamed tag_get_tag_instances() then, if necessary, another function could be added that actually returns tags.

      Also, the function tag_get_correlated() needs to be checked. Most likely it be returning the same columns as tag_get_tags() NOT tag_get_tag_instances().

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andyjdavis Andrew Davis
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: