diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-09-18 21:01:34 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-09-18 21:01:34 +0100 |
| commit | 9e759ba4540be28f80b3162882e079e0af54059a (patch) | |
| tree | 5514eeaef3d6d063330839811037fc0714bf0979 /library | |
| parent | 595e9d8855b001bb997e2c088e82d1f532c540fa (diff) | |
| download | webtrees-9e759ba4540be28f80b3162882e079e0af54059a.tar.gz webtrees-9e759ba4540be28f80b3162882e079e0af54059a.tar.bz2 webtrees-9e759ba4540be28f80b3162882e079e0af54059a.zip | |
Remove unused code
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/Media.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Media.php b/library/WT/Media.php index bb70afb4b4..ece1d1c775 100644 --- a/library/WT/Media.php +++ b/library/WT/Media.php @@ -311,7 +311,7 @@ class WT_Media extends WT_GedcomRecord { $imgsize['mime']=''; $imgsize['WxH']=''; $imgsize['imgWH']=''; - if ($this->isExternal($which)) { + if ($this->isExternal()) { // don’t let large external images break the dislay $imgsize['imgWH']=' width="'.$THUMBNAIL_WIDTH.'" '; } |
