aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 21:17:52 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 21:17:52 +0000
commited063396330dd8b9d07d211920fe28c8a2a0b925 (patch)
tree32f1f02d0d1c232ae99c87935cbe051a1e513fc4 /engine/lib/admin.php
parent704f111bc362b3dd5b1553d2bcea46ef675537d2 (diff)
downloadelgg-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/admin.php')
-rw-r--r--engine/lib/admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index 854a978b5..e5d78336f 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -171,7 +171,7 @@ function admin_init() {
elgg_register_action('profile/fields/delete', '', 'admin');
elgg_register_action('profile/fields/reorder', '', 'admin');
- elgg_view_register_simplecache('js/admin');
+ elgg_register_simplecache_view('js/admin');
// statistics
elgg_add_admin_menu_item('statistics', elgg_echo('admin:statistics'), null, 60);
@@ -258,7 +258,7 @@ function elgg_admin_add_plugin_settings_menu() {
*/
function admin_pagesetup() {
if (elgg_in_context('admin')) {
- $url = elgg_view_get_simplecache_url('css', 'admin');
+ $url = elgg_get_simplecache_url('css', 'admin');
elgg_register_css($url, 'admin');
elgg_unregister_css('elgg');
}
@@ -280,7 +280,7 @@ function admin_settings_page_handler($page) {
elgg_unregister_css('screen');
- $url = elgg_view_get_simplecache_url('js', 'admin');
+ $url = elgg_get_simplecache_url('js', 'admin');
elgg_register_js($url, 'admin');
$url = elgg_get_site_url() . 'vendors/jquery/jquery.jeditable.mini.js';