aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-03 02:36:51 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-03 02:36:51 +0000
commitb5bb07dd3716c6e68fcffd36d53e8013cb52793e (patch)
tree771bdd9aacb98f8ff1bdd83cacca1ea101ff0ab2 /engine
parentb541e8d324c3feeaa50d185013837c31bae32c6a (diff)
downloadelgg-b5bb07dd3716c6e68fcffd36d53e8013cb52793e.tar.gz
elgg-b5bb07dd3716c6e68fcffd36d53e8013cb52793e.tar.bz2
Reindexing plugin priorities after regenerating entities.
git-svn-id: http://code.elgg.org/elgg/trunk@7820 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/plugins.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index b48f1c670..4a25955f9 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -169,6 +169,8 @@ function elgg_generate_plugin_entities() {
access_show_hidden_entities($old_access);
elgg_set_ignore_access($old_ia);
+ elgg_reindex_plugin_priorities();
+
return true;
}
@@ -442,7 +444,7 @@ function elgg_set_plugin_priorities(array $order) {
* @todo Can this be done in a single sql command?
* @return bool
*/
-function elgg_plugins_reindex_priorities() {
+function elgg_reindex_plugin_priorities() {
return elgg_set_plugin_priorities(array());
}