Missing marketing file settings?

Issue #871 closed
Gareth Barnard created an issue

In lib.php::theme_adaptable_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) there is:

    } else if ((substr($filearea, 0, 9) === 'marketing') && (substr($filearea, 10, 5) === 'image')) {
        return $theme->setting_file_serve($filearea, $args, $forcedownload, $options);

I cannot find any file setting pertaining to 'marketing'X'image's? Please advise if redundant code and if not where are the settings defined? Information needed for work for Jeremy Hopkins.

Comments (5)

  1. Info 3bits

    This function is inherited from BCU and it is useless actually.

    There is a pending task to add these icons to Adaptable so probably we could clean the code and keep only the needed to display the icons.

  2. Log in to comment