silverstripe-translatable/code
Jeremy Thomerson 2da48dfd65 FIX: don't re-enable the locale filter if it wasn't enabled before
This breaks code that tries to get all instances of SiteConfig like:

```
Translatable::disable_locale_filter();
$all = SiteConfig::get();
Translatable::enable_locale_filter();
```

What was happening was that our populateSiteConfigDefaults method was
getting called before the actual data list the users uses above is
created, so it was re-enabling the locale filter before the
augmentDataQuery function was called on the data list created for the
user. Thus, they'd get a locale-augmented query and only get the
SiteConfig for the current locale, and not all as clearly intended.
2013-07-24 21:25:42 +00:00
..
controller BUG Cleaner handling of querystring arguments when selecting locale 2013-05-13 00:18:45 +02:00
forms Update LanguageDropdownField.php 2013-07-12 16:59:19 +12:00
model FIX: don't re-enable the locale filter if it wasn't enabled before 2013-07-24 21:25:42 +00:00
tasks Coding conventions fixes (mostly line length) 2012-10-02 22:34:16 +02:00