aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-10-10 00:43:11 -0700
committerEvan Winslow <evan@elgg.org>2012-10-10 00:43:11 -0700
commitec68ded7bc64e64d27f9c78efdfa6a7d3d25d14e (patch)
tree8c239d4ba53aa8812e2f80758a7a5700b8c45f9e /engine/lib/views.php
parent72508cd8c1d2844799764feaf562e26c6ceb91d4 (diff)
parent955e8c0fb51a1d8207f82905e6ba669f41609edd (diff)
downloadelgg-ec68ded7bc64e64d27f9c78efdfa6a7d3d25d14e.tar.gz
elgg-ec68ded7bc64e64d27f9c78efdfa6a7d3d25d14e.tar.bz2
Merge pull request #401 from jeabakker/#4884
Fixes #4884: unnessesary database call in elgg_views_boot()
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php2
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),