src/bbn/user/preferences.php
public function delete_bit(string $id): ?int
  {
    if ( \bbn\str::is_uid($id) ){
      return $this->db->delete($this->class_cfg['tables']['user_options_bits'], [
        $this->class_cfg['arch']['user_options_bits']['id'] => $id
      ]);
    }
    return null;
  }
public function delete_bit(string $id): ?int
  {
    if ( \bbn\str::is_uid($id) ){
      return $this->db->delete($this->class_cfg['tables']['user_options_bits'], [
        $this->class_cfg['arch']['user_options_bits']['id'] => $id
      ]);
    }
    return null;
  }
public function delete_bit ( string $ id ) : ? int { if ( \ bbn \ str :: is_uid ( $ id ) ) { return $ this -> db -> delete ( $ this -> class_cfg [ 'tables' ] [ 'user_options_bits' ] , [ $ this -> class_cfg [ 'arch' ] [ 'user_options_bits' ] [ 'id' ] => $ id ] ) ; } return null ; }
Deletes a preference's bit

@param string The bit's ID
@return int|null
Deletes a preference s bit