From 011bea2a80076e376e086816201ab7ee80027ef4 Mon Sep 17 00:00:00 2001
From: Marco Villegas <marvil07@gmail.com>
Date: Sun, 31 Oct 2010 00:48:10 -0500
Subject: [PATCH] remove duplicated function definition

---
 entity/entity.ui.inc |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git entity/entity.ui.inc entity/entity.ui.inc
index e3a7eea..fb1f5d3 100644
--- entity/entity.ui.inc
+++ entity/entity.ui.inc
@@ -474,18 +474,6 @@ function entity_ui_validate_machine_name($element, &$form_state) {
 }
 
 /**
- * Validation callback for machine names of exportables.
- *
- * We don't allow numeric machine names, as entity_load() treats them as the
- * numeric identifier and they are easily confused with ids in general.
- */
-function entity_ui_validate_machine_name($element, &$form_state) {
-  if (is_numeric($element['#value'])) {
-    form_error($element, t('Machine-readable names must not consist of numbers only.'));
-  }
-}
-
-/**
  * Returns HTML for an entity on the entity overview listing.
  *
  * @ingroup themeable
-- 
1.7.1

