Skip to content

Commit

Permalink
PhpDocs TagHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Dec 26, 2020
1 parent 4f828b3 commit cf6c374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class/ItemHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ public function delete(\XoopsObject $item, $force = false)
}
// Removing tags information
if (\xoops_isActiveModule('tag')) {
/** @var \XoopsModules\Tag\Helper $tagHandler */
$tagHandler = \XoopsModules\Tag\Helper::getInstance()->getHandler('Tag'); // xoops_getModuleHandler('tag', 'tag');
/** @var \XoopsModules\Tag\TagHandler $tagHandler */
$tagHandler = \XoopsModules\Tag\TagHandler::getInstance()->getHandler('Tag'); // xoops_getModuleHandler('tag', 'tag');
$tagHandler->updateByItem('', $item->getVar('itemid'), $this->helper->getDirname(), 0);
}

Expand Down

0 comments on commit cf6c374

Please sign in to comment.