Admidio/admidio

View on GitHub
adm_program/system/classes/FileUpload.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method setHeaderData has 66 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function setHeaderData()
    {
        if ($this->module === 'photos') {
            $textFileUploaded = $GLOBALS['gL10n']->get('SYS_PHOTO_FILE_UPLOADED');
            $textUploadSuccessful = $GLOBALS['gL10n']->get('SYS_PHOTO_UPLOAD_SUCCESSFUL');
Severity: Major
Found in adm_program/system/classes/FileUpload.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status