Add space between if and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 13:08:49 +01:00
committed by M. Shull
parent a935b091d3
commit 3ee58aea10
333 changed files with 4001 additions and 4001 deletions

View File

@@ -6,7 +6,7 @@ use MailPoet\Services\Bridge;
use MailPoet\Services\Release\API;
use MailPoet\Settings\SettingsController;
if(!defined('ABSPATH')) exit;
if (!defined('ABSPATH')) exit;
class Updater {
private $plugin;
@@ -28,14 +28,14 @@ class Updater {
}
function checkForUpdate($update_transient) {
if(!is_object($update_transient)) {
if (!is_object($update_transient)) {
$update_transient = new \stdClass;
}
$latest_version = $this->getLatestVersion();
if(isset($latest_version->new_version)) {
if(version_compare($this->version, $latest_version->new_version, '<')) {
if (isset($latest_version->new_version)) {
if (version_compare($this->version, $latest_version->new_version, '<')) {
$update_transient->response[$this->plugin] = $latest_version;
}
$update_transient->last_checked = time();