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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0
    • 2.2
    • Course
    • None
    • All

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              gb2048 Gareth J Barnard
              Sam Hemelryk Sam Hemelryk
              Aparup Banerjee Aparup Banerjee
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/11