move error processing back inside the function

This commit is contained in:
redmatrix 2016-08-11 18:09:48 -07:00
parent c63deda71a
commit 0257d660ad

View File

@ -143,7 +143,7 @@ require_once('include/api_auth.php');
} }
} }
}
header("HTTP/1.1 404 Not Found"); header("HTTP/1.1 404 Not Found");
logger('API call not implemented: ' . App::$query_string . ' - ' . print_r($_REQUEST,true)); logger('API call not implemented: ' . App::$query_string . ' - ' . print_r($_REQUEST,true));
@ -166,7 +166,7 @@ require_once('include/api_auth.php');
return '<?xml version="1.0" encoding="UTF-8"?>'."\n".$r; return '<?xml version="1.0" encoding="UTF-8"?>'."\n".$r;
break; break;
} }
}
/** /**
* RSS extra info * RSS extra info