Commit ddff68fc authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-966 Fixed dot and removed and removed static.

Released under the Affero GNU General Public License (AGPL) version 3.
parent d3dd763d
...@@ -639,14 +639,14 @@ class Kopano extends SyncWorker { ...@@ -639,14 +639,14 @@ class Kopano extends SyncWorker {
} }
/** /**
* Checks if the PHP-MAPI extension is available and in a requested version * Checks if the PHP-MAPI extension is available and in a requested version.
* *
* @param string $version the version to be checked ("6.30.10-18495", parts or build number) * @param string $version the version to be checked ("6.30.10-18495", parts or build number)
* *
* @access private * @access private
* @return boolean installed version is superior to the checked string * @return boolean installed version is superior to the checked string
*/ */
static private function checkMapiExtVersion($version = "") { private function checkMapiExtVersion($version = "") {
// compare build number if requested // compare build number if requested
if (preg_match('/^\d+$/', $version) && strlen($version) > 3) { if (preg_match('/^\d+$/', $version) && strlen($version) > 3) {
$vs = preg_split('/-/', phpversion("mapi")); $vs = preg_split('/-/', phpversion("mapi"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment