summaryrefslogtreecommitdiff
path: root/modules/locale
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-04 03:33:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-04 03:33:29 +0000
commitcab88a70149d7a1302d1e1e930fc19f909086a25 (patch)
treeae64e7c211fc6150dfac0a1fdb456ba893c02aca /modules/locale
parent6fc4eb9f945ecd7c2bea4742e3febe4632c88e99 (diff)
downloadbrdo-cab88a70149d7a1302d1e1e930fc19f909086a25.tar.gz
brdo-cab88a70149d7a1302d1e1e930fc19f909086a25.tar.bz2
#220233 by Berdir, marcingy, et al: Add useful API functions for extracting node type data.
Diffstat (limited to 'modules/locale')
-rw-r--r--modules/locale/locale.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.install b/modules/locale/locale.install
index 73fc01eba..205aa2eae 100644
--- a/modules/locale/locale.install
+++ b/modules/locale/locale.install
@@ -185,7 +185,7 @@ function locale_update_6004() {
* interfere with language variables.
*/
function locale_update_6005() {
- foreach (node_get_types() as $type => $content_type) {
+ foreach (node_type_get_types() as $type => $content_type) {
// Default to NULL, so we can skip dealing with non-existent settings.
$setting = variable_get('language_' . $type);
if ($type == 'default' && is_numeric($setting)) {
@@ -254,7 +254,7 @@ function locale_uninstall() {
variable_del('locale_cache_strings');
variable_del('locale_js_directory');
- foreach (node_get_types() as $type => $content_type) {
+ foreach (node_type_get_types() as $type => $content_type) {
$setting = variable_del('language_content_type_' . $type);
}