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

Remove use of 'true' and 'false' in db/services.php

XMLWordPrintable

      There are a couple of places which have this madness.
      We must remember that:

      'false' == true
      

      See:

      2049 im:master> gg "'true'" | grep php | grep service
      lib/db/services.php:        'ajax'        => 'true'
      lib/db/services.php:        'ajax'        => 'true'
      lib/db/services.php:        'ajax'        => 'true'
      lib/db/services.php:        'ajax'        => 'true'
      lib/db/services.php:        'ajax'        => 'true'
      lib/db/services.php:        'ajax'        => 'true'
      lib/db/services.php:        'ajax'          => 'true',
      lib/db/services.php:        'ajax'          => 'true',
      lib/db/services.php:        'ajax'          => 'true',
      lib/db/services.php:        'ajax'          => 'true',
      lib/db/services.php:        'ajax'          => 'true',
      lib/db/services.php:        'ajax'        => 'true',
      media/player/videojs/db/services.php:        'ajax'          => 'true',
      

      In this case they're all fine, and there are no instances of 'false', but we should still fix it.

            pholden Paul Holden
            dobedobedoh Andrew Lyons
            Simey Lameze Simey Lameze
            Ferran Recio Ferran Recio
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 43 minutes
                1h 43m

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