aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dav.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-12 18:33:39 -0800
committerfriendica <info@friendica.com>2015-01-12 18:33:39 -0800
commit1b3e52af2dc4f2872c666784b284a5ba0a8de61d (patch)
tree606ab65753449fec5cfb646cdfa1614ca0d0adf1 /mod/dav.php
parent2f9fe0280ecb2dcf2bb5b5fe9eed6a6651856647 (diff)
downloadvolse-hubzilla-1b3e52af2dc4f2872c666784b284a5ba0a8de61d.tar.gz
volse-hubzilla-1b3e52af2dc4f2872c666784b284a5ba0a8de61d.tar.bz2
volse-hubzilla-1b3e52af2dc4f2872c666784b284a5ba0a8de61d.zip
theme toggle issue when viewing mod/cloud of another channel
Diffstat (limited to 'mod/dav.php')
-rw-r--r--mod/dav.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/mod/dav.php b/mod/dav.php
index 1bff5ffbc..e3719cb93 100644
--- a/mod/dav.php
+++ b/mod/dav.php
@@ -37,15 +37,6 @@ if (x($_SERVER, 'HTTP_AUTHORIZATION')) {
* @param App &$a
*/
function dav_init(&$a) {
- // call ($currenttheme)_init since we're operating outside of index.php
- $theme_info_file = "view/theme/" . current_theme() . "/php/theme.php";
- if (file_exists($theme_info_file)){
- require_once($theme_info_file);
- if (function_exists(str_replace('-', '_', current_theme()) . '_init')) {
- $func = str_replace('-', '_', current_theme()) . '_init';
- $func($a);
- }
- }
require_once('include/reddav.php');