Skip to content
Permalink
Browse files

Fix CS

  • Loading branch information...
dereuromark committed Sep 21, 2015
1 parent e176e2f commit 97b6f8674c4a357f99194a7211792de885b56ed3
@@ -862,7 +862,7 @@ public function isConnected() {
} catch (Exception $e) {
$connected = false;
}
$this->connected = ! empty($connected);
$this->connected = !empty($connected);
return $this->connected;
}
@@ -832,7 +832,7 @@ public function sharable($public = null, $time = null) {
if (!$public && !$private && !$noCache) {
return null;
}
$sharable = $public || ! ($private || $noCache);
$sharable = $public || !($private || $noCache);
return $sharable;
}
if ($public) {
@@ -2288,10 +2288,10 @@ public function testCharsetsCompatible() {
protected function _getEmailByOldStyleCharset($charset, $headerCharset) {
$email = new CakeEmail(array('transport' => 'Debug'));
if (! empty($charset)) {
if (!empty($charset)) {
$email->charset = $charset;
}
if (! empty($headerCharset)) {
if (!empty($headerCharset)) {
$email->headerCharset = $headerCharset;
}
@@ -2312,10 +2312,10 @@ protected function _getEmailByOldStyleCharset($charset, $headerCharset) {
protected function _getEmailByNewStyleCharset($charset, $headerCharset) {
$email = new CakeEmail(array('transport' => 'Debug'));
if (! empty($charset)) {
if (!empty($charset)) {
$email->charset($charset);
}
if (! empty($headerCharset)) {
if (!empty($headerCharset)) {
$email->headerCharset($headerCharset);
}

0 comments on commit 97b6f86

Please sign in to comment.
You can’t perform that action at this time.