1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 18:45:57 +00:00

remove hook-based plugins

This commit is contained in:
Andrew Dolgov
2012-08-21 14:37:43 +04:00
parent 23d2471c92
commit 9aceda3afc
9 changed files with 0 additions and 109 deletions

View File

@@ -3212,8 +3212,6 @@
}
function format_article($link, $id, $mark_as_read = true, $zoom_mode = false, $owner_uid = false) {
global $plugins;
if (!$owner_uid) $owner_uid = $_SESSION["uid"];
$rv = array();
@@ -3275,8 +3273,6 @@
$line = db_fetch_assoc($result);
$plugins->hook('article_before', $line);
if ($line["icon_url"]) {
$feed_icon = "<img src=\"" . $line["icon_url"] . "\">";
} else {
@@ -3489,8 +3485,6 @@
$rv['content'] .= "</body></html>";
}
$plugins->hook('article_after', $rv);
return $rv;
}