summaryrefslogtreecommitdiff
path: root/bulk_upload_code.inc
diff options
context:
space:
mode:
authorPrashant P Shah2012-05-29 23:27:16 +0530
committerPrashant P Shah2012-05-29 23:27:16 +0530
commit889ebc1e58953844ffa3bbf39c393bd3adb85c1a (patch)
tree3657f4becf60935afe2613ec95d987aabe75c6c8 /bulk_upload_code.inc
parentc6619d70627699bcf2df74d875a4f286992da5aa (diff)
downloadscilab_lab_migration-889ebc1e58953844ffa3bbf39c393bd3adb85c1a.tar.gz
scilab_lab_migration-889ebc1e58953844ffa3bbf39c393bd3adb85c1a.tar.bz2
scilab_lab_migration-889ebc1e58953844ffa3bbf39c393bd3adb85c1a.zip
rename functions
Signed-off-by: Prashant P Shah <pshah.mumbai@gmail.com>
Diffstat (limited to 'bulk_upload_code.inc')
-rwxr-xr-xbulk_upload_code.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bulk_upload_code.inc b/bulk_upload_code.inc
index bc144e3..329f8ff 100755
--- a/bulk_upload_code.inc
+++ b/bulk_upload_code.inc
@@ -208,10 +208,10 @@ function lab_migration_bulk_upload_code_form($form_state)
function lab_migration_bulk_upload_code_form_validate($form, &$form_state)
{
- if (!check_code_number($form_state['values']['code_number']))
+ if (!lab_migration_check_code_number($form_state['values']['code_number']))
form_set_error('code_number', t('Invalid Code Number. Code Number can contain only numbers.'));
- if (!check_name($form_state['values']['code_caption']))
+ if (!lab_migration_check_name($form_state['values']['code_caption']))
form_set_error('code_caption', t('Caption can contain only alphabets, numbers and spaces.'));
if (isset($_FILES['files']))