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

delete deprecated upload_manager and clam scanning code

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.9
    • Component/s: Files API
    • Labels:
    • Testing Instructions:
      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 .
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-44260-master
    • Sprint:
      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

              Assignee:
              lameze Simey Lameze
              Reporter:
              skodak Petr Skoda
              Peer reviewer:
              Frédéric Massart Frédéric Massart
              Integrator:
              Dan Poltawski Dan Poltawski
              Tester:
              Dan Poltawski Dan Poltawski
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, 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:
                Fix Release Date:
                11/May/15