Commit ceb304ff by pupi1985

Removed unnecessary code

parent 9e4faa45
...@@ -1223,7 +1223,6 @@ ...@@ -1223,7 +1223,6 @@
$editors = qa_list_modules('editor'); $editors = qa_list_modules('editor');
$selectoptions = array(); $selectoptions = array();
$optionslinks = false;
foreach ($editors as $editor) { foreach ($editors as $editor) {
$selectoptions[qa_html($editor)] = strlen($editor) ? qa_html($editor) : qa_lang_html('admin/basic_editor'); $selectoptions[qa_html($editor)] = strlen($editor) ? qa_html($editor) : qa_lang_html('admin/basic_editor');
......
...@@ -22,14 +22,11 @@ ...@@ -22,14 +22,11 @@
class qa_facebook_login_page class qa_facebook_login_page
{ {
private $directory; private $directory;
private $urltoroot;
public function load_module($directory, $urltoroot) public function load_module($directory, $urltoroot)
{ {
$this->directory=$directory; $this->directory=$directory;
$this->urltoroot=$urltoroot;
} }
public function match_request($request) public function match_request($request)
......
...@@ -137,8 +137,6 @@ class qa_xml_sitemap ...@@ -137,8 +137,6 @@ class qa_xml_sitemap
{ {
@ini_set('display_errors', 0); // we don't want to show PHP errors inside XML @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'); header('Content-type: text/xml; charset=utf-8');
echo '<?xml version="1.0" encoding="UTF-8"?>'."\n"; echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
...@@ -262,9 +260,6 @@ class qa_xml_sitemap ...@@ -262,9 +260,6 @@ class qa_xml_sitemap
} }
} }
// Finish up...
echo "</urlset>\n"; echo "</urlset>\n";
return null; 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