summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 00:39:54 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 00:39:54 +0000
commitbf6e9f88d8fbd520cf7373fa58ad3c45c76904dd (patch)
tree29618126b20adc850be5f94d3014d9be78bb7f37 /lib/general.lib.php
parent00bcfdca5f523093770321c22f8c429f3d318af8 (diff)
downloadampache-bf6e9f88d8fbd520cf7373fa58ad3c45c76904dd.tar.gz
ampache-bf6e9f88d8fbd520cf7373fa58ad3c45c76904dd.tar.bz2
ampache-bf6e9f88d8fbd520cf7373fa58ad3c45c76904dd.zip
- Added modules section to sidebar, conforming to new layout from r1127
- Re-enabled plugins, added openstrands plugin
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php
index 3d60014f..5ce40831 100644
--- a/lib/general.lib.php
+++ b/lib/general.lib.php
@@ -739,43 +739,6 @@ function invert_boolean($value) {
} // invert_boolean
/**
- * get_plugins
- * This returns a list of the plugins and their information
- */
-function get_plugins() {
-
- /* Init our vars */
- $plugins = array();
-
- /* Open the dir */
- $handle = opendir(conf('prefix') . '/modules/plugins');
-
- if (!is_resource($handle)) {
- debug_event('plugins','Error: Unable to read plugins directory','1');
- }
-
- while ($file = readdir($handle)) {
- if (substr($file,-10,10) != 'plugin.php') { continue; }
-
- /* Make sure it isn't a subdir */
- if (!is_dir($file)) {
-
- /* Get the Basename */
- $plugin_name = basename($file,'.plugin.php');
-
- /* Load it */
- $plugin = new Plugin($plugin_name);
- $plugins[$plugin_name] = $plugin;
- } // if its not a subdir
-
- } // end while
-
-
- return $plugins;
-
-} // get_plugins
-
-/**
* unhtmlentities
* This is required to make thing work.. but holycrap is it ugly
*/