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

delete deprecated upload_manager and clam scanning code

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7
    • 2.9
    • Files API
    • MOODLE_27_STABLE
    • MOODLE_29_STABLE
    • MDL-44260-master
    • Hide

      Search for the following functions and make sure it is only used in lib/deprecatelib.php and it throws an exception.

      • clam_change_log
      • clam_log_infected
      • clam_log_upload
      • clam_replace_infected_file

      Search for the following functions and make sure it is only used in lib/uploadlib.php and it throws an exception.

      • clam_scan_moodle_file
      • clam_handle_infected_file

      Search for usages of upload_manager class and make sure it is only used in lib/uploadlib.php and the constructor method throws an exception.

      NOTE: There are two clam methods not deprecated in lib/uploadlib.php and it is only used by repository/lib.php.

      Show
      Search for the following functions and make sure it is only used in lib/deprecatelib.php and it throws an exception. clam_change_log clam_log_infected clam_log_upload clam_replace_infected_file Search for the following functions and make sure it is only used in lib/uploadlib.php and it throws an exception. clam_scan_moodle_file clam_handle_infected_file Search for usages of upload_manager class and make sure it is only used in lib/uploadlib.php and the constructor method throws an exception. NOTE: There are two clam methods not deprecated in lib/uploadlib.php and it is only used by repository/lib.php .
    • BACKEND Sprint 19

    Description

      see MDL-42889

      the affected classes/functions are in lib/uploadlib.php and clam_* in lib/deprecatedlib.php

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              skodak Petr Skoda
              Frédéric Massart Frédéric Massart
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15