aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-09-28 22:25:24 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-09-28 22:25:24 -0700
commit1a44b71e0cd65a009c0fb54ca11825b75528a327 (patch)
treedc1e371d216c3eccf6168921e13e57274d0da982 /views
parent672bca794418ffa5544319de1a8ecfed3f088bd0 (diff)
downloadelgg-1a44b71e0cd65a009c0fb54ca11825b75528a327.tar.gz
elgg-1a44b71e0cd65a009c0fb54ca11825b75528a327.tar.bz2
Fixes #3879. Removed some instances of deprecated views / functions.
Diffstat (limited to 'views')
-rw-r--r--views/default/core/avatar/upload.php2
-rw-r--r--views/default/forms/avatar/crop.php2
-rw-r--r--views/default/icon/user/default.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/views/default/core/avatar/upload.php b/views/default/core/avatar/upload.php
index 6887eab5c..11902cf4a 100644
--- a/views/default/core/avatar/upload.php
+++ b/views/default/core/avatar/upload.php
@@ -5,7 +5,7 @@
* @uses $vars['entity']
*/
-$user_avatar = $vars['entity']->getIcon('medium');
+$user_avatar = $vars['entity']->getIconUrl('medium');
$current_label = elgg_echo('avatar:current');
diff --git a/views/default/forms/avatar/crop.php b/views/default/forms/avatar/crop.php
index dc5e3d77f..9fcae25c4 100644
--- a/views/default/forms/avatar/crop.php
+++ b/views/default/forms/avatar/crop.php
@@ -5,7 +5,7 @@
* @uses $vars['entity']
*/
-$master_image = $vars['entity']->getIcon('master');
+$master_image = $vars['entity']->getIconUrl('master');
?>
<div class="clearfix">
diff --git a/views/default/icon/user/default.php b/views/default/icon/user/default.php
index 2970f1858..aca03521f 100644
--- a/views/default/icon/user/default.php
+++ b/views/default/icon/user/default.php
@@ -38,7 +38,7 @@ $js = elgg_extract('js', $vars, '');
$hover = elgg_extract('hover', $vars, true);
if (isset($vars['override'])) {
- elgg_deprecated_notice("Use 'hover' rather than 'override' with user avatars", 1.8);
+ elgg_deprecated_notice("Use 'hover' rather than 'override' with user avatars", 1.8, 5);
$hover = false;
}