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

mod/forum/lib.php should require_once mod/forum/post_form.php less liberally

XMLWordPrintable

      Noticed while looking at MDL-39449, mod/forum/lib.php requires mod/forum/post_form.php, which in turn requires our forms code.

      We frequently include module lib.php files at times where we don't need the post form - e.g. pluginfile.php.

      Dropping this requirement from lib.php means that we can reduce memory usage by about 300-400KB on every call to pluginfile.php and any similar places too.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Tim Hunt Tim Hunt
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.