diff options
author | Evan Winslow <evan@elgg.org> | 2012-10-10 00:43:11 -0700 |
---|---|---|
committer | Evan Winslow <evan@elgg.org> | 2012-10-10 00:43:11 -0700 |
commit | ec68ded7bc64e64d27f9c78efdfa6a7d3d25d14e (patch) | |
tree | 8c239d4ba53aa8812e2f80758a7a5700b8c45f9e | |
parent | 72508cd8c1d2844799764feaf562e26c6ceb91d4 (diff) | |
parent | 955e8c0fb51a1d8207f82905e6ba669f41609edd (diff) | |
download | elgg-ec68ded7bc64e64d27f9c78efdfa6a7d3d25d14e.tar.gz elgg-ec68ded7bc64e64d27f9c78efdfa6a7d3d25d14e.tar.bz2 |
Merge pull request #401 from jeabakker/#4884
Fixes #4884: unnessesary database call in elgg_views_boot()
-rw-r--r-- | engine/lib/views.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index b00334062..6135026a7 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1653,7 +1653,7 @@ function elgg_views_boot() { } // set default icon sizes - can be overridden in settings.php or with plugin - if (!elgg_get_config('icon_sizes')) { + if (!$CONFIG->icon_sizes) { $icon_sizes = array( 'topbar' => array('w' => 16, 'h' => 16, 'square' => TRUE, 'upscale' => TRUE), 'tiny' => array('w' => 25, 'h' => 25, 'square' => TRUE, 'upscale' => TRUE), |