From 119e458ac8fe06d0e8350842970266c9edbaf119 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 14 Feb 2017 11:04:20 +0000 Subject: [PATCH] Removed SQLite3 dependency (no longer used by PocketMine-MP core) BEFORE anyone yells at me about plugins, having the core demand every extension that a plugin could possibly need is very much sub-optimal. An API for plugin-required extensions will be added in the future. --- README.md | 1 - src/pocketmine/PocketMine.php | 5 ----- 2 files changed, 6 deletions(-) diff --git a/README.md b/README.md index ca28079d1..0623a0329 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,6 @@ Head over to our [official Jenkins server](https://jenkins.pmmp.io/) ## Third-party Libraries/Protocols Used * __[PHP Sockets](http://php.net/manual/en/book.sockets.php)__ * __[PHP mbstring](http://php.net/manual/en/book.mbstring.php)__ -* __[PHP SQLite3](http://php.net/manual/en/book.sqlite3.php)__ * __[PHP BCMath](http://php.net/manual/en/book.bc.php)__ * __[PHP pthreads](http://pthreads.org/)__ by _[krakjoe](https://github.com/krakjoe)_: Threading for PHP - Share Nothing, Do Everything. * __[PHP YAML](https://code.google.com/p/php-yaml/)__ by _Bryan Davis_: The Yaml PHP Extension provides a wrapper to the LibYAML library. diff --git a/src/pocketmine/PocketMine.php b/src/pocketmine/PocketMine.php index 5f816eb39..efb55c2b7 100644 --- a/src/pocketmine/PocketMine.php +++ b/src/pocketmine/PocketMine.php @@ -441,11 +441,6 @@ namespace pocketmine { ++$errors; } - if(!extension_loaded("sqlite3")){ - $logger->critical("Unable to find the SQLite3 extension."); - ++$errors; - } - if(!extension_loaded("zlib")){ $logger->critical("Unable to find the Zlib extension."); ++$errors;