From b5bb07dd3716c6e68fcffd36d53e8013cb52793e Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 3 Jan 2011 02:36:51 +0000 Subject: Reindexing plugin priorities after regenerating entities. git-svn-id: http://code.elgg.org/elgg/trunk@7820 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/plugins.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engine') 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()); } -- cgit v1.2.3