]> source.dussan.org Git - nextcloud-server.git/commitdiff
Contacts: No random token for contactphoto
authorBart Visscher <bartv@thisnet.nl>
Mon, 5 Mar 2012 21:05:30 +0000 (22:05 +0100)
committerBart Visscher <bartv@thisnet.nl>
Wed, 7 Mar 2012 20:46:42 +0000 (21:46 +0100)
apps/contacts/templates/part.contactphoto.php

index 9e3f5876cd14a197e5ee267205ae57fc63792423..8107650d161fd14510049e19456f185cc24d07a1 100644 (file)
@@ -3,7 +3,7 @@ $id = $_['id'];
 $wattr = isset($_['width'])?'width="'.$_['width'].'"':'';
 $hattr = isset($_['height'])?'height="'.$_['height'].'"':'';
 ?>
-<img class="loading" id="contacts_details_photo" <?php echo $wattr; ?> <?php echo $hattr; ?> src="<?php echo OC_Helper::linkToAbsolute('contacts', 'photo.php'); ?>?id=<?php echo $id; ?>&amp;refresh=<?php echo rand(); ?>" />
+<img class="loading" id="contacts_details_photo" <?php echo $wattr; ?> <?php echo $hattr; ?> src="<?php echo OC_Helper::linkToAbsolute('contacts', 'photo.php'); ?>?id=<?php echo $id; ?>" />
 <progress id="contacts_details_photo_progress" style="display:none;" value="0" max="100">0 %</progress>