diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2018-11-19 12:10:49 +0100 |
---|---|---|
committer | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2018-11-19 12:22:12 +0100 |
commit | b4702736fc52780cb848d699d06e73ec3165290b (patch) | |
tree | 4a8217405149eee38217a54d5a05b08d3ae57093 /plugins/modifier.group_by.php | |
parent | ec4c627649a0b31f804f9cbdbfc84d375b774cd2 (diff) | |
download | dokuwiki-b4702736fc52780cb848d699d06e73ec3165290b.tar.gz dokuwiki-b4702736fc52780cb848d699d06e73ec3165290b.tar.bz2 dokuwiki-b4702736fc52780cb848d699d06e73ec3165290b.zip |
Update to new dokuwiki version, replace smarty with twig
Diffstat (limited to 'plugins/modifier.group_by.php')
-rw-r--r-- | plugins/modifier.group_by.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/plugins/modifier.group_by.php b/plugins/modifier.group_by.php deleted file mode 100644 index 74bf045..0000000 --- a/plugins/modifier.group_by.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -function smarty_modifier_group_by($value, $key) -{ - $array = array(); - - foreach ($value as $k => $v) { - if (array_key_exists($key, $v)) { - if (is_array($v[$key])) { - foreach ($v[$key] as $key_part) { - $array[$key_part][$k] = $v; - } - } - else { - $array[$v[$key]][$k] = $v; - } - } - } - - return $array; -} - -?> |