From 9aceda3afc70eba20fa236c46c050b1e63ca07ca Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 21 Aug 2012 14:37:43 +0400 Subject: remove hook-based plugins --- include/functions.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 632c1e628..957146f1f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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 = ""; } else { @@ -3489,8 +3485,6 @@ $rv['content'] .= ""; } - $plugins->hook('article_after', $rv); - return $rv; } -- cgit v1.2.3