← Back to team overview

mahara-contributors team mailing list archive

[Bug 1732046] [NEW] Need to consolidate country code information

 

Public bug reported:

Currently we have lib/country.php containing the 'Country' class which list the 2 and 3 char codes
And we have getoptions_country() in lib/web.php that list the 2 char codes

We don't need both - we should make the Country class the preferred one
and fetch our 2 char codes for getoptions_country() from the class.

** Affects: mahara
     Importance: Medium
         Status: In Progress

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
    Milestone: None => 18.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1732046

Title:
  Need to consolidate country code information

Status in Mahara:
  In Progress

Bug description:
  Currently we have lib/country.php containing the 'Country' class which list the 2 and 3 char codes
  And we have getoptions_country() in lib/web.php that list the 2 char codes

  We don't need both - we should make the Country class the preferred
  one and fetch our 2 char codes for getoptions_country() from the
  class.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1732046/+subscriptions


Follow ups