diff --git a/src/Client.php b/src/Client.php index d438973..f0dcd39 100644 --- a/src/Client.php +++ b/src/Client.php @@ -48,16 +48,19 @@ public function query($query) public function getDatabases() { + @trigger_error('The '.__METHOD__.' method is deprecated since version 0.8.1 and will be removed in 0.9.', E_USER_DEPRECATED); return $this->query("show databases"); } public function createDatabase($name) { + @trigger_error('The '.__METHOD__.' method is deprecated since version 0.8.1 and will be removed in 0.9.', E_USER_DEPRECATED); return $this->query("create database \"{$name}\""); } public function deleteDatabase($name) { + @trigger_error('The '.__METHOD__.' method is deprecated since version 0.8.1 and will be removed in 0.9.', E_USER_DEPRECATED); return $this->query("drop database \"{$name}\""); } }