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

Refactor attachment upload functions into service

XMLWordPrintable

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your Jira administrators.

      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: