зеркало из https://github.com/mozilla/oldpto.git
Moved country queryset to the proper location
git-svn-id: https://svn.mozilla.org/projects/pto/trunk@119652 4eb1ac78-321c-0410-a911-ec516a8615a5
This commit is contained in:
Родитель
2fc8e79504
Коммит
4897ab5239
|
@ -7,10 +7,10 @@
|
|||
|
||||
if (function_exists($output_function)){
|
||||
$results = Filtering::getRecords();
|
||||
$aLdapCountries = Filtering::getCountries();
|
||||
call_user_func($output_function, $results, $from_time, $to_time);
|
||||
} elseif (!isset($_GET["format"])) {
|
||||
// Don't do anything. Fall through to exporting as pretty HTML.
|
||||
$aLdapCountries = Filtering::getCountries();
|
||||
} else {
|
||||
// Format not supported
|
||||
header("HTTP/1.1 400 Bad Request");
|
||||
|
|
Загрузка…
Ссылка в новой задаче