From d0d921f2d8fbdca9d2307d89b349e9251f829fc0 Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 23 Mar 2010 10:56:25 -0300 Subject: Coding standards --- .mass_image_import.module.swp | Bin 16384 -> 20480 bytes mass_image_import.module | 8 +++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.mass_image_import.module.swp b/.mass_image_import.module.swp index 097c3e1..b0901eb 100644 Binary files a/.mass_image_import.module.swp and b/.mass_image_import.module.swp differ diff --git a/mass_image_import.module b/mass_image_import.module index 87d7cbf..1de68a6 100644 --- a/mass_image_import.module +++ b/mass_image_import.module @@ -27,7 +27,7 @@ function mass_image_import_menu() { /** * Include image_import helper functions. */ -require_once drupal_get_path('module', 'image_import') .'image_import.pages.inc'; +require_once drupal_get_path('module', 'image_import') .'/image_import.pages.inc'; /** * Menu callback. @@ -92,6 +92,9 @@ function mass_image_import_batch(&$context) { /** * Make a list of image files. + * + * @return + * List of available images for import. */ function mass_image_import_get_files() { $dirpath = variable_get('image_import_path', ''); @@ -121,6 +124,9 @@ function mass_image_import_get_files() { /** * Import a single file. + * + * @param $file + * Image object to import. */ function mass_image_import_file($file) { $dirpath = variable_get('image_import_path', ''); -- cgit v1.2.3