diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-12-17 07:12:01 -0800 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-12-17 07:12:01 -0800 |
commit | b538cc3339ff886e309feb318cdea374423d1683 (patch) | |
tree | 14904c1de72d83398faa12dd19c4a87bf9a4e866 /engine/lib/plugins.php | |
parent | 4aae9078525de7c6e56091d6864e7397b58280cb (diff) | |
parent | 33c786c1b7838d38e9797b8731d4e45c9ceb1aac (diff) | |
download | elgg-b538cc3339ff886e309feb318cdea374423d1683.tar.gz elgg-b538cc3339ff886e309feb318cdea374423d1683.tar.bz2 |
Merge pull request #446 from mrclay/4929-18-entitiesopt
Fixes #4929: Optimize elgg_get_entities and add attribute loader
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r-- | engine/lib/plugins.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index ca4a957f4..94aff277e 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -208,6 +208,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 ); |