summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-19 15:18:15 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-19 15:18:15 -0800
commit9b16537e2c7c2319670af02b7e4755d1b29d80a2 (patch)
tree8557bc99c9193122b00f822e0bc8d03f058b99ef /modules/g2_import/helpers
parentfa906f1c3defda281ad8450d5d257757dddf9e31 (diff)
Revert "Revert "Revert "Use call_user_func instead of call_user_func_array as we don't need to pass the parameters by reference."""
This reverts commit 05b5a2c9ed9e5c3ed05eec8748f4bebc381993c4.
Diffstat (limited to 'modules/g2_import/helpers')
-rw-r--r--modules/g2_import/helpers/g2_import.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index 519da40f..202a0e92 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -671,8 +671,8 @@ class g2_import_Core {
$g2_item_id = self::$current_g2_item->getId();
$derivatives = g2(GalleryCoreApi::fetchDerivativesByItemIds(array($g2_item_id)));
- $target_thumb_size = theme::get_var("thumb_size", 200);
- $target_resize_size = theme::get_var("resize_size", 640);
+ $target_thumb_size = module::get_var("gallery", "thumb_size");
+ $target_resize_size = module::get_var("gallery", "resize_size");
if (!empty($derivatives[$g2_item_id])) {
foreach ($derivatives[$g2_item_id] as $derivative) {
if ($derivative->getPostFilterOperations()) {