diff --git a/app/tasks/sdks.php b/app/tasks/sdks.php index 1d7a87307b..501de50211 100644 --- a/app/tasks/sdks.php +++ b/app/tasks/sdks.php @@ -21,20 +21,6 @@ use Appwrite\SDK\Language\Swift; $cli ->task('sdks') ->action(function () { - function getSSLPage($url) - { - $ch = \curl_init(); - \curl_setopt($ch, CURLOPT_HEADER, false); - \curl_setopt($ch, CURLOPT_URL, $url); - \curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); - \curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); - \curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - $result = \curl_exec($ch); - \curl_close($ch); - - return $result; - } - $platforms = Config::getParam('platforms'); $selected = \strtolower(Console::confirm('Choose SDK ("*" for all):')); $version = Console::confirm('Choose an Appwrite version'); diff --git a/app/workers/mails.php b/app/workers/mails.php index 6f4422b57f..11f41e4446 100644 --- a/app/workers/mails.php +++ b/app/workers/mails.php @@ -29,7 +29,6 @@ class MailsV1 return; } - $event = $this->args['event']; $from = $this->args['from']; $recipient = $this->args['recipient']; $name = $this->args['name'];