Skip to content
Snippets Groups Projects
Commit bd07158f authored by Anika Henke's avatar Anika Henke
Browse files

deleted redundant line

parent 3a48618a
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,6 @@ function act_permcheck($act){
$permneed = AUTH_CREATE;
}
}elseif(in_array($act,array('login','search','recent','profile','index', 'sitemap'))){
}elseif(in_array($act,array('login','search','recent','profile','sitemap'))){
$permneed = AUTH_NONE;
}elseif($act == 'revert'){
$permneed = AUTH_ADMIN;
......@@ -610,7 +609,7 @@ function act_sitemap($act) {
print "Sitemap generation is disabled.";
exit;
}
$sitemap = Sitemapper::getFilePath();
if(strrchr($sitemap, '.') === '.gz'){
$mime = 'application/x-gzip';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment