Commit ceb304ff by pupi1985

Removed unnecessary code

parent 9e4faa45
......@@ -1223,7 +1223,6 @@
$editors = qa_list_modules('editor');
$selectoptions = array();
$optionslinks = false;
foreach ($editors as $editor) {
$selectoptions[qa_html($editor)] = strlen($editor) ? qa_html($editor) : qa_lang_html('admin/basic_editor');
......
......@@ -22,14 +22,11 @@
class qa_facebook_login_page
{
private $directory;
private $urltoroot;
public function load_module($directory, $urltoroot)
{
$this->directory=$directory;
$this->urltoroot=$urltoroot;
}
public function match_request($request)
......
......@@ -137,8 +137,6 @@ class qa_xml_sitemap
{
@ini_set('display_errors', 0); // we don't want to show PHP errors inside XML
$siteurl=qa_opt('site_url');
header('Content-type: text/xml; charset=utf-8');
echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
......@@ -262,9 +260,6 @@ class qa_xml_sitemap
}
}
// Finish up...
echo "</urlset>\n";
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment