Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18810

Remove redundant defines from CRM_Utils_Type

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: Unscheduled
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      There are some comic defines in CRM_Utils_Type. The only reason they are still there I suspect is that no-one has looked to see if we can remove them?

      https://gist.github.com/xurizaemon/06663182ded3bdcc499422ba2423d50c#file-redundant-txt-L51

      There seem to be a couple of places where we use eg CRM_Utils_Type::FOUR when we want to save ourselves the trouble of typing "4".

        Attachments

          Activity

            People

            • Assignee:
              xurizaemon Chris Burgess
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: