Skip to content

Commit

Permalink
Remove check-latest-version features
Browse files Browse the repository at this point in the history
  • Loading branch information
PresentKim committed Jul 17, 2020
1 parent 25d9825 commit 679bad1
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 230 deletions.
2 changes: 0 additions & 2 deletions resources/lang/eng/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ settings:
#Available: eng, kor, rus
language: "eng"

update-check: false


command:
#Name of main command
Expand Down
2 changes: 0 additions & 2 deletions resources/lang/kor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ settings:
#가능한 언어: eng, kor, rus
language: "kor"

update-check: false


command:
#메인 명령어의 이름
Expand Down
2 changes: 0 additions & 2 deletions resources/lang/rus/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ settings:
#Доступно: eng, kor, rus
language: "rus"

update-check: false


command:
#Название комманды
Expand Down
6 changes: 0 additions & 6 deletions src/kim/present/lifespan/Lifespan.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

use kim\present\lifespan\lang\PluginLang;
use kim\present\lifespan\listener\EntityEventListener;
use kim\present\lifespan\task\CheckUpdateAsyncTask;
use pocketmine\command\{
Command, CommandSender, PluginCommand
};
Expand Down Expand Up @@ -105,11 +104,6 @@ public function onEnable() : void{
}
}

//Check latest version
if($config->getNested("settings.update-check", false)){
$this->getServer()->getAsyncPool()->submitTask(new CheckUpdateAsyncTask());
}

//Load language file
$this->language = new PluginLang($this, $config->getNested("settings.language"));
$this->getLogger()->info($this->language->translate("language.selected", [$this->language->getName(), $this->language->getLang()]));
Expand Down
128 changes: 0 additions & 128 deletions src/kim/present/lifespan/task/CheckUpdateAsyncTask.php

This file was deleted.

90 changes: 0 additions & 90 deletions src/kim/present/lifespan/task/ShortenDownloadURLAsyncTask.php

This file was deleted.

0 comments on commit 679bad1

Please sign in to comment.