method removeRole documentation in bbn\Appui\Task

function($id_task, $id_user = NULL) { $role = $this->db->selectOne('bbn_tasks_roles', 'role', [ 'id_task' => $id_task, 'id_user' => $id_user ?: $this->id_user ]); if ( $this->db->delete('bbn_tasks_roles', [ 'id_task' => $id_task, 'id_user' => $id_user ?: $this->id_user ]) ){ $this->addLog($id_task, 'role_delete', [$id_user ?: $this->id_user, $role]); return 1; } } return 0; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.