1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

remove magpie, fix article filter plugins

This commit is contained in:
Andrew Dolgov
2012-12-24 13:45:34 +04:00
parent e935c2bc54
commit 19b3992b78
18 changed files with 108 additions and 3226 deletions

View File

@@ -475,7 +475,6 @@ class Pref_Feeds extends Handler_Protected {
function editfeed() {
global $purge_intervals;
global $update_intervals;
global $update_methods;
$feed_id = db_escape_string($_REQUEST["id"]);
@@ -547,20 +546,10 @@ class Pref_Feeds extends Handler_Protected {
print_select_hash("update_interval", $update_interval, $update_intervals,
'dojoType="dijit.form.Select"');
/* Update method */
$update_method = db_fetch_result($result, 0, "update_method",
'dojoType="dijit.form.Select"');
print " " . __('using') . " ";
print_select_hash("update_method", $update_method, $update_methods,
'dojoType="dijit.form.Select"');
/* Purge intl */
$purge_interval = db_fetch_result($result, 0, "purge_interval");
/* Purge intl */
print "<hr/>";
print __('Article purging:') . " ";
@@ -746,7 +735,6 @@ class Pref_Feeds extends Handler_Protected {
function editfeeds() {
global $purge_intervals;
global $update_intervals;
global $update_methods;
$feed_ids = db_escape_string($_REQUEST["ids"]);
@@ -805,13 +793,6 @@ class Pref_Feeds extends Handler_Protected {
$this->batch_edit_cbox("update_interval");
/* Update method */
print " " . __('using') . " ";
print_select_hash("update_method", $update_method, $update_methods,
'disabled="1" dojoType="dijit.form.Select"');
$this->batch_edit_cbox("update_method");
/* Purge intl */
if (FORCE_ARTICLE_PURGE == 0) {
@@ -929,7 +910,6 @@ class Pref_Feeds extends Handler_Protected {
db_escape_string($_POST["cache_images"]));
$cache_content = checkbox_to_sql_bool(
db_escape_string($_POST["cache_content"]));
$update_method = (int) db_escape_string($_POST["update_method"]);
$always_display_enclosures = checkbox_to_sql_bool(
db_escape_string($_POST["always_display_enclosures"]));
@@ -970,8 +950,7 @@ class Pref_Feeds extends Handler_Protected {
always_display_enclosures = $always_display_enclosures,
mark_unread_on_update = $mark_unread_on_update,
update_on_checksum_change = $update_on_checksum_change,
update_method = '$update_method'
WHERE id = '$feed_id' AND owner_uid = " . $_SESSION["uid"]);
WHERE id = '$feed_id' AND owner_uid = " . $_SESSION["uid"]);
} else {
$feed_data = array();
@@ -1045,10 +1024,6 @@ class Pref_Feeds extends Handler_Protected {
$qpart = "rtl_content = $rtl_content";
break;
case "update_method":
$qpart = "update_method = '$update_method'";
break;
case "cat_id":
$qpart = $category_qpart_nocomma;
break;