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

String 'taskdeletecachetext' is unused and can be removed

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_404_STABLE
    • MDL-79949-master
    • Hide

      confirm the following :

      $ git grep -n taskdeletecachetext

      Yields 2 lines with files

      lang/en/admin.php:XXXX:$string['taskdeletecachetext'] =....

      lang/en/deprecated.txt:YYY:taskdeletecachetext,core_admin

      then :

      $ git grep -n "// Deprecated since Moodle 4.4." -– 'lang/en/admin.php'

      Yields

      lang/en/admin.php:ZZZZ:// Deprecated since Moodle 4.4.

      And finally that :

      ZZZZ < XXXX

      Show
      confirm the following : $ git grep -n taskdeletecachetext Yields 2 lines with files lang/en/admin.php:XXXX:$string ['taskdeletecachetext'] =.... lang/en/deprecated.txt:YYY:taskdeletecachetext,core_admin then : $ git grep -n "// Deprecated since Moodle 4.4." -– 'lang/en/admin.php' Yields lang/en/admin.php:ZZZZ:// Deprecated since Moodle 4.4. And finally that : ZZZZ < XXXX

      As analysed by cameron1729, in issue MDL-25499 a string was added (sub MDL-25505) but never used.
      It could be removed.

      Best,

      Bruno

            Baudry Bruno Baudry
            Baudry Bruno Baudry
            Meirza Meirza
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 53 minutes
                53m

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