From a69a6778bb8f07ad1c90b912eaeb9ebd4152480f Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Wed, 9 Feb 2011 19:35:50 +0000 Subject: [PATCH] [gh-91] Merging from testing into staging git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@501 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- sites/all/modules/unl/unl_migration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sites/all/modules/unl/unl_migration.php b/sites/all/modules/unl/unl_migration.php index 2238bff9..8d27a059 100644 --- a/sites/all/modules/unl/unl_migration.php +++ b/sites/all/modules/unl/unl_migration.php @@ -814,8 +814,8 @@ class Unl_Migration_Tool $headers[$headerKey] = trim($headerValue); } - // don't copy files greater than 100MB in size - if (isset($headers['Content-Length']) && $headers['Content-Length'] > (100 * 1024 * 1024)) { + // don't copy files greater than 10MB in size + if (isset($headers['Content-Length']) && $headers['Content-Length'] > (10 * 1024 * 1024)) { $size = floor($headers['Content-Length'] / (1024 * 1024)); $this->_log("The file at $url is $size MB! Ignoring."); $content = ''; -- GitLab