From ad30d39e2a910a420f3116ade1bbe8b5f7f9df88 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Nov 2021 15:45:35 +0300 Subject: [PATCH] not dead: Article.assigntolabel etc are exported methods called by frontend (Headlines.js) --- classes/article.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/classes/article.php b/classes/article.php index d14236ea2..e113ed219 100755 --- a/classes/article.php +++ b/classes/article.php @@ -257,17 +257,14 @@ class Article extends Handler_Protected { print ""; }*/ - // TODO: dead code? function assigntolabel(): void { $this->_label_ops(true); } - // TODO: dead code? function removefromlabel(): void { $this->_label_ops(false); } - // TODO: dead code? private function _label_ops(bool $assign): void { $reply = array();