method userDelete documentation in bbn\Appui\Passwords
function(string $id_pref, bbn\User $user)
{
if ($user->isAuth()) {
$pref = \bbn\User\Preferences::getInstance();
if ($pref->isAuthorized($id_pref)) {
$arch =& $this->class_cfg['arch']['passwords'];
return $this->db->delete(
$this->class_cfg['table'],
[$arch['id_user_option'] => $id_pref]
);
}
}
}
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.
© 2011-2025
BBN Solutions