Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Call elgg_register_simplecache_view('css/admin') in admin_init #194

Closed
wants to merge 1 commit into from

2 participants

@jrtilson
Collaborator

Need to properly register simplecache view otherwise simplecache will regenerate on each admin page load.

@ewinslow
Owner

Should this be against 1.8?

@jrtilson
Collaborator

I'll resubmit this pull request with the fix implemented on master

@jrtilson jrtilson closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 19, 2012
  1. @jrtilson

    Need to call elgg_register_simplecache_view('css/admin') to register …

    jrtilson authored
    …admin css with simplecache
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  engine/lib/admin.php
View
1  engine/lib/admin.php
@@ -236,6 +236,7 @@ function admin_init() {
elgg_register_action('profile/fields/delete', '', 'admin');
elgg_register_action('profile/fields/reorder', '', 'admin');
+ elgg_register_simplecache_view('css/admin');
elgg_register_simplecache_view('js/admin');
$url = elgg_get_simplecache_url('js', 'admin');
elgg_register_js('elgg.admin', $url);
Something went wrong with that request. Please try again.