diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-17 15:34:15 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-17 15:34:15 +0000 |
commit | c76e559d489b1bdc733936a39979abdabde8ca8b (patch) | |
tree | 2884318753b386b4f2f59937d50124086e9982eb /engine/lib/plugins.php | |
parent | 536c34f20927aff5e4a9873d8066bf433337d216 (diff) | |
download | elgg-c76e559d489b1bdc733936a39979abdabde8ca8b.tar.gz elgg-c76e559d489b1bdc733936a39979abdabde8ca8b.tar.bz2 |
Removed old gunk
git-svn-id: https://code.elgg.org/elgg/trunk@2093 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r-- | engine/lib/plugins.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index c53cac785..c71495c40 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -464,32 +464,6 @@ return false; } - - /** - * Privileged execution so code can run before user logged in. - * - * @param array $params - * @return bool - */ - /*function __is_plugin_enabled_priv(array $params = null) - { - global $CONFIG; - - $plugin = $params['plugin']; - $site_guid = (int) $params['site_guid']; - if ($site_guid == 0) - $site_guid = $CONFIG->site_guid; - - $site = get_entity($site_guid); - if (!($site instanceof ElggSite)) - throw new InvalidClassException(sprintf(elgg_echo('InvalidClassException:NotValidElggStar'), $site_guid, "ElggSite")); - - $enabled = find_metadata("enabled_plugins", $plugin, "site", "", 10, 0, "", $site_guid); - if ($enabled) - return true; - - return false; - }*/ /** * Run once and only once. |