aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/developers/views/default/page/shells/theme_preview.php6
-rw-r--r--mod/notifications/index.php2
-rw-r--r--mod/profile/start.php12
3 files changed, 10 insertions, 10 deletions
diff --git a/mod/developers/views/default/page/shells/theme_preview.php b/mod/developers/views/default/page/shells/theme_preview.php
index 79dfed60d..6652c609a 100644
--- a/mod/developers/views/default/page/shells/theme_preview.php
+++ b/mod/developers/views/default/page/shells/theme_preview.php
@@ -3,9 +3,9 @@
* Page shell for theme preview
*/
-$screen = elgg_view_get_simplecache_url('css', 'screen');
-$ie_url = elgg_view_get_simplecache_url('css', 'ie');
-$ie6_url = elgg_view_get_simplecache_url('css', 'ie6');
+$screen = elgg_get_simplecache_url('css', 'screen');
+$ie_url = elgg_get_simplecache_url('css', 'ie');
+$ie6_url = elgg_get_simplecache_url('css', 'ie6');
// Set the content type
header("Content-type: text/html; charset=UTF-8");
diff --git a/mod/notifications/index.php b/mod/notifications/index.php
index a0235632d..f970dfc32 100644
--- a/mod/notifications/index.php
+++ b/mod/notifications/index.php
@@ -13,7 +13,7 @@ gatekeeper();
set_page_owner(elgg_get_logged_in_user_guid());
-$js_url = elgg_view_get_simplecache_url('js', 'friendsPickerv1');
+$js_url = elgg_get_simplecache_url('js', 'friendsPickerv1');
elgg_register_js($js_url, 'friendsPicker');
// Set the context to settings
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');