src/bbn/db/languages/mysql.php
public function delete_user(string $user): bool
	{
		if ( bbn\str::check_name($user) ){
			$this->db->raw_query("
			REVOKE ALL PRIVILEGES ON *.*
			FROM $user");
			return (bool)$this->db->query("DROP USER $user");
		}
		return false;
	}
public function delete_user(string $user): bool
	{
		if ( bbn\str::check_name($user) ){
			$this->db->raw_query("
			REVOKE ALL PRIVILEGES ON *.*
			FROM $user");
			return (bool)$this->db->query("DROP USER $user");
		}
		return false;
	}
public function delete_user ( string $ user ) : bool { if ( bbn \ str :: check_name ( $ user ) ) { $ this -> db -> raw_query ( "
			REVOKE ALL PRIVILEGES ON *.*
			FROM $user" ) ; return ( bool ) $ this -> db -> query ( "DROP USER $user" ) ; } return false ; }
Deletes a database user

@param string $user
@return bool
Deletes a database user