summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-01-13 01:08:28 +0000
committerDries Buytaert <dries@buytaert.net>2011-01-13 01:08:28 +0000
commit39fc52de6531cf6fd18d7c486b8389e075ca1dae (patch)
treee310bc2f68e4ca5a698d1ab80dc364aecbf88d78 /modules
parent5369ef896dc718d7c37c5d01e3ad591e16e173b3 (diff)
downloadbrdo-39fc52de6531cf6fd18d7c486b8389e075ca1dae.tar.gz
brdo-39fc52de6531cf6fd18d7c486b8389e075ca1dae.tar.bz2
- Patch #1015150 by redndahead: clean-up 'getsize' remnants since it has been removed.
Diffstat (limited to 'modules')
-rw-r--r--modules/image/image.module4
-rw-r--r--modules/image/image.test1
-rw-r--r--modules/system/system.admin.inc1
3 files changed, 0 insertions, 6 deletions
diff --git a/modules/image/image.module b/modules/image/image.module
index 4ca0e3495..23f2e9b5d 100644
--- a/modules/image/image.module
+++ b/modules/image/image.module
@@ -189,7 +189,6 @@ function image_theme() {
'alt' => '',
'title' => NULL,
'attributes' => array(),
- 'getsize' => TRUE,
),
),
@@ -1082,8 +1081,6 @@ function image_effect_apply($image, $effect) {
* - title: The title text is displayed when the image is hovered in some
* popular browsers.
* - attributes: Associative array of attributes to be placed in the img tag.
- * - getsize: If set to TRUE, the image's dimension are fetched and added as
- * width/height attributes.
*
* @ingroup themeable
*/
@@ -1091,7 +1088,6 @@ function theme_image_style($variables) {
$style_name = $variables['style_name'];
$path = $variables['path'];
- // theme_image() can only honor the $getsize parameter with local file paths.
// The derivative image is not created until it has been requested so the file
// may not yet exist, in this case we just fallback to the URL.
$style_path = image_style_path($style_name, $path);
diff --git a/modules/image/image.test b/modules/image/image.test
index 33c1000c1..7529add75 100644
--- a/modules/image/image.test
+++ b/modules/image/image.test
@@ -695,7 +695,6 @@ class ImageFieldDisplayTestCase extends ImageFieldTestCase {
// image style callback paths.
$this->drupalGet(image_style_url('thumbnail', $image_uri));
$image_info['path'] = image_style_path('thumbnail', $image_uri);
- $image_info['getsize'] = FALSE;
$default_output = theme('image', $image_info);
$this->drupalGet('node/' . $nid);
$this->assertRaw($default_output, t('Image style thumbnail formatter displaying correctly on full node view.'));
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 3be8ea184..d40a6e070 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -158,7 +158,6 @@ function system_themes_page() {
'alt' => t('Screenshot for !theme theme', array('!theme' => $theme->info['name'])),
'title' => t('Screenshot for !theme theme', array('!theme' => $theme->info['name'])),
'attributes' => array('class' => array('screenshot')),
- 'getsize' => FALSE,
);
break;
}