diff options
author | Silvio <s1lv10@uol.com.br> | 2010-03-23 10:56:25 -0300 |
---|---|---|
committer | Silvio <s1lv10@uol.com.br> | 2010-03-23 10:56:25 -0300 |
commit | d0d921f2d8fbdca9d2307d89b349e9251f829fc0 (patch) | |
tree | 1e797716b0c5264c09bcaac7cb0c7debc530a2f3 | |
parent | 52fd889584ab1c535a0b84505aeb0f840f18d857 (diff) | |
download | mass_image_import-d0d921f2d8fbdca9d2307d89b349e9251f829fc0.tar.gz mass_image_import-d0d921f2d8fbdca9d2307d89b349e9251f829fc0.tar.bz2 |
Coding standards
-rw-r--r-- | .mass_image_import.module.swp | bin | 16384 -> 20480 bytes | |||
-rw-r--r-- | mass_image_import.module | 8 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.mass_image_import.module.swp b/.mass_image_import.module.swp Binary files differindex 097c3e1..b0901eb 100644 --- a/.mass_image_import.module.swp +++ b/.mass_image_import.module.swp 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', ''); |