From b12a187ebbe3e119ae78f9fddd1c058014d99e88 Mon Sep 17 00:00:00 2001
From: Dane Powell <git@danepowell.com>
Date: Thu, 6 Aug 2015 10:57:02 -0500
Subject: [PATCH] Issue #2145453 by carinadigital, Dane Powell: Fixed features
 locale reverts.

---
 includes/features.locale.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/includes/features.locale.inc b/includes/features.locale.inc
index 126d177..258d541 100644
--- a/includes/features.locale.inc
+++ b/includes/features.locale.inc
@@ -141,8 +141,8 @@ function _features_language_save($language) {
   }
   // Update Existing language.
   else {
-    // @TODO: get properties from schema.
-    $properties = array('language', 'name', 'native', 'direction', 'enabled', 'plurals', 'formula', 'domain', 'prefix', 'weight', 'javascript');
+    // Get field list from table schema.
+    $properties = drupal_schema_fields_sql('languages');
     // The javascript hash is not in the imported data but should be empty
     if (!isset($language->javascript)) {
       $language->javascript = '';
-- 
2.1.4

