diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-01-03 11:42:21 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-01-05 16:16:23 +0100 |
commit | a0df06517bada0f811b464017ce385290e02c2bf (patch) | |
tree | 6bc3e99a9e9b93eb3e0f531f67a607dec748f407 /application/Utils.php | |
parent | adc4aee80f7cd3242f65f0b316af2b560a64712c (diff) | |
download | Shaarli-a0df06517bada0f811b464017ce385290e02c2bf.tar.gz Shaarli-a0df06517bada0f811b464017ce385290e02c2bf.tar.zst Shaarli-a0df06517bada0f811b464017ce385290e02c2bf.zip |
Minor improvements regarding #705 (coding style, unit tests, etc.)
Diffstat (limited to 'application/Utils.php')
-rw-r--r-- | application/Utils.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/application/Utils.php b/application/Utils.php index 7556d3c9..35d65224 100644 --- a/application/Utils.php +++ b/application/Utils.php | |||
@@ -270,13 +270,3 @@ function normalize_spaces($string) | |||
270 | { | 270 | { |
271 | return preg_replace('/\s{2,}/', ' ', trim($string)); | 271 | return preg_replace('/\s{2,}/', ' ', trim($string)); |
272 | } | 272 | } |
273 | |||
274 | function getAllTheme($raintpl_tpl) | ||
275 | { | ||
276 | $allTheme = glob($raintpl_tpl.'/*', GLOB_ONLYDIR); | ||
277 | foreach ($allTheme as $value) { | ||
278 | $themes[] = str_replace($raintpl_tpl.'/', '', $value); | ||
279 | } | ||
280 | |||
281 | return $themes; | ||
282 | } | ||