From cb39d9435da54239e8e36d2d53877a19c10bab83 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 4 Dec 2017 15:14:58 -0800 Subject: We only require one Update module. The rest are superfluous. --- Zotlabs/Module/Update_home.php | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 Zotlabs/Module/Update_home.php (limited to 'Zotlabs/Module/Update_home.php') diff --git a/Zotlabs/Module/Update_home.php b/Zotlabs/Module/Update_home.php deleted file mode 100644 index 0f699482e..000000000 --- a/Zotlabs/Module/Update_home.php +++ /dev/null @@ -1,42 +0,0 @@ - 1) && (argv(1) == 'load')) ? 1 : 0); - header("Content-type: text/html"); - echo "\r\n"; - echo ((array_key_exists('msie',$_GET) && $_GET['msie'] == 1) ? '
' : '
'); - - $mod = new Home(); - $text = $mod->get($profile_uid, $load); - - $pattern = "/]*) src=\"([^\"]*)\"/"; - $replace = "'; - $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i"; - $text = preg_replace($pattern, $replace, $text); - $pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i"; - $text = preg_replace($pattern, $replace, $text); - $pattern = "/<\s*embed[^>]*>(.*?)<\s*\/\s*embed>/i"; - $text = preg_replace($pattern, $replace, $text); - $pattern = "/<\s*iframe[^>]*>(.*?)<\s*\/\s*iframe>/i"; - $text = preg_replace($pattern, $replace, $text); - } - */ - echo str_replace("\t",' ',$text); - echo ((array_key_exists('msie',$_GET) && $_GET['msie'] == 1) ? '
' : ''); - echo "\r\n"; - // logger('update_home: ' . $text); - killme(); - - } -} -- cgit v1.2.3