not dead: Article.assigntolabel etc are exported methods called by frontend (Headlines.js)

This commit is contained in:
Andrew Dolgov 2021-11-16 15:45:35 +03:00
parent 4166628c36
commit ad30d39e2a
1 changed files with 0 additions and 3 deletions

View File

@ -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();