aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-04 03:12:48 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-04 03:12:48 +0000
commit780723dfae9d9c910dfdb6a9e244fce738942e3b (patch)
treec305a6bcdc777183847993814b7d5e511cfcf81d /engine/classes
parent77c4fd10bc965499d6ad58c49ea17dab9414bb44 (diff)
downloadelgg-780723dfae9d9c910dfdb6a9e244fce738942e3b.tar.gz
elgg-780723dfae9d9c910dfdb6a9e244fce738942e3b.tar.bz2
Fixes #2820, Fixes #2823. Using elgg_get_plugins() in elgg_get_plugins_provides(). Fixed plugin conflicts system. Removed cruft from ElggPluginPackage. Fixed deprecated get_installed_plugins() to honor the type requested.
git-svn-id: http://code.elgg.org/elgg/trunk@8010 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggPluginPackage.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/engine/classes/ElggPluginPackage.php b/engine/classes/ElggPluginPackage.php
index d7392132c..01437a4e4 100644
--- a/engine/classes/ElggPluginPackage.php
+++ b/engine/classes/ElggPluginPackage.php
@@ -490,28 +490,6 @@ class ElggPluginPackage {
}
/**
- * Activate the plugin.
- *
- * @note This method is activate() to avoid clashing with ElggEntity::enable()
- *
- * @return bool
- */
- public function activate() {
- return enable_plugin($this->getID());
- }
-
- /**
- * Deactivate the plugin.
- *
- * @note This method is deactivate() to avoid clashing with ElggEntity::disable()
- *
- * @return bool
- */
- public function deactivate() {
- return disable_plugin($this->getID());
- }
-
- /**
* Returns the Plugin ID
*
* @return string