diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2013-08-31 18:38:24 +0000 |
---|---|---|
committer | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2013-08-31 18:38:24 +0000 |
commit | ca41dbdee7f129ad43e37cafcb7d81c9a0715d33 (patch) | |
tree | cc08aaa6795785e803574e8d7c253ae48eee96b1 | |
parent | 9ad7e6a8e6b1dae809946942a4216bafc572883b (diff) | |
download | dokuwiki-ca41dbdee7f129ad43e37cafcb7d81c9a0715d33.tar.gz dokuwiki-ca41dbdee7f129ad43e37cafcb7d81c9a0715d33.tar.bz2 dokuwiki-ca41dbdee7f129ad43e37cafcb7d81c9a0715d33.zip |
remove unused function (now smarty plugin)
-rwxr-xr-x | update.php | 33 |
1 files changed, 0 insertions, 33 deletions
@@ -189,39 +189,6 @@ function _render($target, $file, $vars=null) { } #------------------------------------------------------------------------------ -# get_bcfg2_groups - -function get_bcfg2_groups($hostinfo) { - $groups = array(); - - foreach ($hostinfo as $host => $data) { - foreach ($data['groups'] as $group) { - $groups[$group] = array(); - } - } - - foreach (array_keys($groups) as $group) { - foreach ($hostinfo as $host => $data) { - if (in_array($group, $data['groups'])) { - $groups[$group][$host] = $data; - } - } - } - - foreach ($groups as $group => $hosts) { - if (count($hosts) < 2) { - unset($groups[$group]); - } - - if (count($hosts) == count($hostinfo)) { - $groups[$group] = 'all'; - } - } - - return $groups; -} - -#------------------------------------------------------------------------------ # _render_template function _render_template($template, $vars=null) { |