Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13904

Refactor attachment upload functions into service

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.0-a1
    • 3.2.0-dev
    • Posting
    • None

      The attachments functions should be refactored into a service / multiple services. This should allow better coverage with unit tests and also a better extensibility in the future.

      Right now, the functions are split over several files, e.g. delete_attachments() is in functions_admin.php while upload_attachment() is in functions_posting.php.

            Marc Marc
            Marc Marc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: