src/snac/server/database/DBUser.php
/**
     * Disable log in to this account.
     *
     * Update table appuser.active to false. Return true on success.
     *
     * Should we also munge their password so login becomes impossible? Perhaps not.
     *
     * @param \snac\data\User $user The user to disable
     * @return boolean Return true.
     */
Disable log in to this account.
Update table appuser.active to false. Return true on success.

Should we also munge their password so login becomes impossible. Perhaps not.

@param \snac\data\User $user The user to disable
@return boolean Return true.
Disable log in to this account . Update table appuser . active to false . Return true on success . Should we also munge their password so login becomes impossible . Perhaps not . @param \ snac \ data \ User $user The user to disable @return boolean Return true .
public function disableUser($user)
    {
        $this->sql->updateActive($user->getUserID(), $this->db->boolToPg(false));
        return true;
    }
public function disableUser ( $ user ) { $ this -> sql -> updateActive ( $ user -> getUserID ( ) , $ this -> db -> boolToPg ( false ) ) ; return true ; }
Disable log in to this account.
Disable log in to this account .