aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.mass_image_import.module.swpbin16384 -> 20480 bytes
-rw-r--r--mass_image_import.module8
2 files changed, 7 insertions, 1 deletions
diff --git a/.mass_image_import.module.swp b/.mass_image_import.module.swp
index 097c3e1..b0901eb 100644
--- a/.mass_image_import.module.swp
+++ b/.mass_image_import.module.swp
Binary files 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', '');