diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-09 19:14:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-09 19:14:38 +0000 |
commit | cab1ccee2adc382151ce89674498a93addb89b34 (patch) | |
tree | 7cb3bdf756b0ae66660b2213de106659d5804b75 /engine/lib/widgets.php | |
parent | 30a1df9bcf1ac12a8aec0f307f53f8eb6d105809 (diff) | |
download | elgg-cab1ccee2adc382151ce89674498a93addb89b34.tar.gz elgg-cab1ccee2adc382151ce89674498a93addb89b34.tar.bz2 |
Fixes #3193 moves default widgets upgrade to an action
git-svn-id: http://code.elgg.org/elgg/trunk@8971 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/widgets.php')
-rw-r--r-- | engine/lib/widgets.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php index b20f92f74..cc3cf20e4 100644 --- a/engine/lib/widgets.php +++ b/engine/lib/widgets.php @@ -272,6 +272,7 @@ function elgg_widgets_init() { elgg_register_action('widgets/add'); elgg_register_action('widgets/move'); elgg_register_action('widgets/delete'); + elgg_register_action('widgets/upgrade', '', 'admin'); run_function_once("elgg_widget_run_once"); } |