mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-12 21:55:56 +00:00
not dead: Article.assigntolabel etc are exported methods called by frontend (Headlines.js)
This commit is contained in:
@@ -257,17 +257,14 @@ class Article extends Handler_Protected {
|
||||
print "</ul>";
|
||||
}*/
|
||||
|
||||
// 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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user