aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/start.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 8387f7d1b..05db3ce86 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -19,12 +19,12 @@ function profile_init() {
// Metadata on users needs to be independent
register_metadata_as_independent('user');
- elgg_view_register_simplecache('icon/user/default/tiny');
- elgg_view_register_simplecache('icon/user/default/topbar');
- elgg_view_register_simplecache('icon/user/default/small');
- elgg_view_register_simplecache('icon/user/default/medium');
- elgg_view_register_simplecache('icon/user/default/large');
- elgg_view_register_simplecache('icon/user/default/master');
+ elgg_register_simplecache_view('icon/user/default/tiny');
+ elgg_register_simplecache_view('icon/user/default/topbar');
+ elgg_register_simplecache_view('icon/user/default/small');
+ elgg_register_simplecache_view('icon/user/default/medium');
+ elgg_register_simplecache_view('icon/user/default/large');
+ elgg_register_simplecache_view('icon/user/default/master');
// Register a page handler, so we can have nice URLs
elgg_register_page_handler('profile', 'profile_page_handler');