Esempio n. 1
0
    protected function _actionDelete(KCommandContext $context)
    {
        $rowset = parent::_actionDelete($context);

        $list = KFactory::get('com://admin/users.model.sessions')
            ->set('username', $rowset->username)
            ->getList()
            ->delete();

        return $rowset;
    }