summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStella Power2007-05-04 14:38:38 (GMT)
committerStella Power2007-05-04 14:38:38 (GMT)
commit837189993e8da7875333047adc01f2c5867d810d (patch)
tree4bd2f3e00fcbd728f52a73d036095c8e87d268d8
parent919e96b69419f36659df1467451068ccefcff237 (diff)
removed unused variable5.x-1.1
-rw-r--r--lightbox2.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/lightbox2.module b/lightbox2.module
index 08736da..6025cd5 100644
--- a/lightbox2.module
+++ b/lightbox2.module
@@ -306,7 +306,6 @@ function lightbox2_field_formatter($field, $item, $formatter) {
*/
function theme_imagefield_image_imagecache_lightbox2($namespace, $field, $item, $attributes = NULL) {
- global $user;
$attributes = drupal_attributes($attributes);
$imagecache_path = file_create_url(
file_directory_path() .'/imagecache/'. $namespace .'/'. $item['filepath']);