config: remove ALLOW_SELECT_UPDATE_METHOD

This commit is contained in:
Andrew Dolgov 2010-06-30 13:16:20 +04:00
parent 51d2d404b8
commit 34f29d7866
2 changed files with 7 additions and 15 deletions

View File

@ -155,10 +155,6 @@
// Directory for lockfiles, must be writable to the user you run // Directory for lockfiles, must be writable to the user you run
// daemon process or cronjobs under. // daemon process or cronjobs under.
define('ALLOW_SELECT_UPDATE_METHOD', true);
// Allow users to select the library to update feeds with - e.g.
// Magpie or SimplePie
define('ENABLE_GZIP_OUTPUT', false); define('ENABLE_GZIP_OUTPUT', false);
// Selectively gzip output to improve wire performance. This requires // Selectively gzip output to improve wire performance. This requires
// PHP Zlib extension on the server. // PHP Zlib extension on the server.

View File

@ -304,12 +304,10 @@
/* Update method */ /* Update method */
if (ALLOW_SELECT_UPDATE_METHOD) {
$update_method = db_fetch_result($result, 0, "update_method"); $update_method = db_fetch_result($result, 0, "update_method");
print " " . __('using') . " "; print " " . __('using') . " ";
print_select_hash("update_method", $update_method, $update_methods); print_select_hash("update_method", $update_method, $update_methods);
}
$purge_interval = db_fetch_result($result, 0, "purge_interval"); $purge_interval = db_fetch_result($result, 0, "purge_interval");
@ -533,12 +531,10 @@
/* Update method */ /* Update method */
if (ALLOW_SELECT_UPDATE_METHOD) {
print " " . __('using') . " "; print " " . __('using') . " ";
print_select_hash("update_method", $update_method, $update_methods, print_select_hash("update_method", $update_method, $update_methods,
"disabled"); "disabled");
batch_edit_cbox("update_method"); batch_edit_cbox("update_method");
}
/* Purge intl */ /* Purge intl */