Commit af5bda6e authored by hass's avatar hass Committed by codycraven
Browse files

Issue #1564806 by hass: Fix misspelled function name.

parent a7f6cefe
Taxonomy Display 7.x-1.x, YYYY-MM-DD
------------------------------------
Issue #1564806 by hass: Fix misspelled function name.
Issue #1542306 by hass: Fix strings missing translate function wrapper.
Taxonomy Display 7.x-1.0, 2011-10-10
......
......@@ -26,7 +26,7 @@ function taxonomy_display_enable() {
// If the vocabulary does not exist delete the taxonomy_display as it is now
// an orphan.
if (!isset($vocabularies[$taxonomy_display->machine_name])) {
taxonomy_display_delete_taxonomy_dislpay($taxonomy_display->machine_name);
taxonomy_display_delete_taxonomy_display($taxonomy_display->machine_name);
}
}
}
......
......@@ -32,7 +32,7 @@ function taxonomy_display_ctools_plugin_directory($owner, $plugin_type) {
*
* @return void
*/
function taxonomy_display_delete_taxonomy_dislpay($machine_name, $watchdog_message = NULL, $watchdog_variables = array(), $watchdog_severity = WATCHDOG_NOTICE) {
function taxonomy_display_delete_taxonomy_display($machine_name, $watchdog_message = NULL, $watchdog_variables = array(), $watchdog_severity = WATCHDOG_NOTICE) {
// Delete our display record for the term being removed.
$count = (bool) db_delete('taxonomy_display')
->condition('machine_name', $machine_name)
......@@ -401,7 +401,7 @@ function taxonomy_display_taxonomy_term_title($term) {
*/
function taxonomy_display_taxonomy_vocabulary_delete($vocabulary) {
// Delete our display record for the vocabulary being removed.
taxonomy_display_delete_taxonomy_dislpay($vocabulary->machine_name,
taxonomy_display_delete_taxonomy_display($vocabulary->machine_name,
'Taxonomy display settings deleted for %name in response to the vocabulary being deleted.',
array('%name' => $vocabulary->machine_name));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment