aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-08 16:10:31 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-08 16:10:31 +0000
commite1f39489ccc7ce2883882c3fe78bd54a388b92a8 (patch)
treee9017328c9fc6073cf45f20560337b68ba7ba1f1 /engine/lib/plugins.php
parent75868f14ba9fd4df6925d03bf614405413800f72 (diff)
downloadelgg-e1f39489ccc7ce2883882c3fe78bd54a388b92a8.tar.gz
elgg-e1f39489ccc7ce2883882c3fe78bd54a388b92a8.tar.bz2
Refs #946: Improved documentation on enable/disable/reorder plugin commands
git-svn-id: https://code.elgg.org/elgg/trunk@3195 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php24
1 files changed, 21 insertions, 3 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 771fe7306..399ef13b6 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -132,7 +132,13 @@
}
/**
- * Regenerates the list of known plugins and saves it to the current site
+ * Regenerates the list of known plugins and saves it to the current site
+ *
+ * Important: You should regenerate simplecache and the viewpath cache after executing this function
+ * otherwise you may experience view display artifacts. Do this with the following code:
+ *
+ * elgg_view_regenerate_simplecache();
+ * elgg_filepath_cache_reset();
*
* @param array $pluginorder Optionally, a list of existing plugins and their orders
* @return array The new list of plugins and their orders
@@ -585,7 +591,13 @@
}
/**
- * Enable a plugin for a site (default current site)
+ * Enable a plugin for a site (default current site)
+ *
+ * Important: You should regenerate simplecache and the viewpath cache after executing this function
+ * otherwise you may experience view display artifacts. Do this with the following code:
+ *
+ * elgg_view_regenerate_simplecache();
+ * elgg_filepath_cache_reset();
*
* @param string $plugin The plugin name.
* @param int $site_guid The site id, if not specified then this is detected.
@@ -623,7 +635,13 @@
/**
* Disable a plugin for a site (default current site)
- *
+ *
+ * Important: You should regenerate simplecache and the viewpath cache after executing this function
+ * otherwise you may experience view display artifacts. Do this with the following code:
+ *
+ * elgg_view_regenerate_simplecache();
+ * elgg_filepath_cache_reset();
+ *
* @param string $plugin The plugin name.
* @param int $site_guid The site id, if not specified then this is detected.
*/