mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Cleanups
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -29,7 +29,6 @@ class MailsV1
|
||||
return;
|
||||
}
|
||||
|
||||
$event = $this->args['event'];
|
||||
$from = $this->args['from'];
|
||||
$recipient = $this->args['recipient'];
|
||||
$name = $this->args['name'];
|
||||
|
||||
Reference in New Issue
Block a user