aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-11-26 01:17:39 -0500
committerSteve Clay <steve@mrclay.org>2012-11-26 16:01:50 -0500
commit33c786c1b7838d38e9797b8731d4e45c9ceb1aac (patch)
tree14d0e21d0ce67939a4483ec1cf0feaccfed09780 /engine/lib/plugins.php
parent19c6da97ed0178592b9041946f3463f9008dd7ea (diff)
downloadelgg-33c786c1b7838d38e9797b8731d4e45c9ceb1aac.tar.gz
elgg-33c786c1b7838d38e9797b8731d4e45c9ceb1aac.tar.bz2
Fixes #4929: Optimize elgg_get_entities and add attribute loader
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index d5cd4fe76..cc1b4b9c7 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -190,6 +190,7 @@ function elgg_get_plugin_from_id($plugin_id) {
'type' => 'object',
'subtype' => 'plugin',
'joins' => array("JOIN {$db_prefix}objects_entity oe on oe.guid = e.guid"),
+ 'selects' => array("oe.title", "oe.description"),
'wheres' => array("oe.title = '$plugin_id'"),
'limit' => 1
);