From aeb1abedb2cb5051c2a94e287f114bdbdaa467ff Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 May 2017 15:13:02 +0300 Subject: move a bunch of functions into Feeds/Article namespaces + static function catchupArticlesById($ids, $cmode, $owner_uid = false) { + static function getLastArticleId() { + static function queryFeedHeadlines($params) { + static function getParentCategories($cat, $owner_uid) { + static function getChildCategories($cat, $owner_uid) { move the rest of functions2.php back to functions.php as it is of more manageable size, remove the former --- include/digest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/digest.php') diff --git a/include/digest.php b/include/digest.php index ff5d77f10..2c7f81cd9 100644 --- a/include/digest.php +++ b/include/digest.php @@ -60,7 +60,7 @@ if ($rc && $do_catchup) { if ($debug) _debug("Marking affected articles as read..."); - catchupArticlesById($affected_ids, 0, $line["id"]); + Article::catchupArticlesById($affected_ids, 0, $line["id"]); } } else { if ($debug) _debug("No headlines"); -- cgit v1.2.3