X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=include%2Ffunctions.php;h=75722515dd6d9b5fb57a2fbdd67b78f35030d8fa;hb=f97b56a3c9189da54763c4c03cb9c634ad6112b7;hp=1d613a737eb13bd210282014a8b7e39e5da8cdb9;hpb=f3457920178e7748cd38cc573f104b224d61d2d1;p=tt-rss.git
diff --git a/include/functions.php b/include/functions.php
index 1d613a73..75722515 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1614,7 +1614,6 @@
AND ttrss_counters_cache.feed_id = id";
$result = db_query($query);
- $fctrs_modified = false;
while ($line = db_fetch_assoc($result)) {
@@ -2923,7 +2922,6 @@
$fragment = $doc->createDocumentFragment();
$text = $child->textContent;
- $stubs = array();
while (($pos = mb_stripos($text, $word)) !== false) {
$fragment->appendChild(new DomText(mb_substr($text, 0, $pos)));
@@ -3105,19 +3103,16 @@
}
function format_warning($msg, $id = "") {
- global $link;
return "
$msg ";
}
function format_notice($msg, $id = "") {
- global $link;
return "
$msg ";
}
function format_error($msg, $id = "") {
- global $link;
return "
$msg ";
}
@@ -3226,8 +3221,6 @@
$line = db_fetch_assoc($result);
- $tag_cache = $line["tag_cache"];
-
$line["tags"] = get_article_tags($id, $owner_uid, $line["tag_cache"]);
unset($line["tag_cache"]);
@@ -3383,7 +3376,7 @@
$rv['content'] .= " ";
$rv['content'] .= "";
- $rv['content'] .= "";
+ $rv['content'] .= "";
$rv['content'] .= "";
}
@@ -4269,9 +4262,9 @@
$fetch_last_error = curl_errno($curl) . " " . curl_error($curl);
curl_close($curl);
- $oline='';
- foreach($status as $key=>$eline){$oline.='['.$key.']'.$eline.' ';}
- $line =$oline." \r\n ".$url."\r\n-----------------\r\n";
+# $oline='';
+# foreach($status as $key=>$eline){$oline.='['.$key.']'.$eline.' ';}
+# $line =$oline." \r\n ".$url."\r\n-----------------\r\n";
# $handle = @fopen('./curl.error.log', 'a');
# fwrite($handle, $line);
return FALSE;