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

Redundant call to time in format.php of topics course format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.2
    • 2.0
    • Course
    • None
    • All

      In version 1.133 line 135 of format.php of the topics course format there is a call to time() which is assigned to the variable $timenow, but this variable is never used:

      $timenow = time();

      Therefore it is redundant and uses some processing time pointlessly.

            poltawski Dan Poltawski
            gb2048 Gareth J Barnard
            Sam Hemelryk Sam Hemelryk
            Aparup Banerjee Aparup Banerjee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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