diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 21:17:52 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 21:17:52 +0000 |
commit | ed063396330dd8b9d07d211920fe28c8a2a0b925 (patch) | |
tree | 32f1f02d0d1c232ae99c87935cbe051a1e513fc4 /engine/lib/views.php | |
parent | 704f111bc362b3dd5b1553d2bcea46ef675537d2 (diff) | |
download | elgg-ed063396330dd8b9d07d211920fe28c8a2a0b925.tar.gz elgg-ed063396330dd8b9d07d211920fe28c8a2a0b925.tar.bz2 |
Fixes #2923: Removed "view" prefix from simplecache function names
git-svn-id: http://code.elgg.org/elgg/trunk@8260 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r-- | engine/lib/views.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 49fba8bf6..8a5badc88 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1456,10 +1456,10 @@ function autoregister_views($view_base, $folder, $base_location_path, $viewtype) * Add the core Elgg head elements that could be cached */ function elgg_views_register_core_head_elements() { - $url = elgg_view_get_simplecache_url('js', 'elgg'); + $url = elgg_get_simplecache_url('js', 'elgg'); elgg_register_js($url, 'elgg'); - $url = elgg_view_get_simplecache_url('css', 'screen'); + $url = elgg_get_simplecache_url('css', 'screen'); elgg_register_css($url, 'screen'); } @@ -1474,11 +1474,11 @@ function elgg_views_register_core_head_elements() { function elgg_views_boot() { global $CONFIG; - elgg_view_register_simplecache('css/screen'); - elgg_view_register_simplecache('css/ie'); - elgg_view_register_simplecache('css/ie6'); - elgg_view_register_simplecache('js/friendsPickerv1'); - elgg_view_register_simplecache('js/elgg'); + elgg_register_simplecache_view('css/screen'); + elgg_register_simplecache_view('css/ie'); + elgg_register_simplecache_view('css/ie6'); + elgg_register_simplecache_view('js/friendsPickerv1'); + elgg_register_simplecache_view('js/elgg'); elgg_register_js("/vendors/jquery/jquery-1.5.min.js", 'jquery'); elgg_register_js("/vendors/jquery/jquery-ui-1.8.9.min.js", 'jquery-ui'); |