projects
/
Packages
/
TYPO3.CMS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a6b1872
)
Merge "[TASK] Harmonize coding style of if constructs in sysext "linkvalidator""
author
Christopher
<chrissitopher@gmx.de>
Thu, 7 Jun 2012 19:19:21 +0000
(21:19 +0200)
committer
Gerrit Code Review
<gerrit@review.typo3.org>
Thu, 7 Jun 2012 19:19:21 +0000
(21:19 +0200)
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_external.php
patch
|
blob
|
history
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_internal.php
patch
|
blob
|
history
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_linkhandler.php
patch
|
blob
|
history
diff --git
a/typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_external.php
b/typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_external.php
index
bfeafc8
..
cee2ad0
100644
(file)
--- a/
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_external.php
+++ b/
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_external.php
@@
-69,7
+69,7
@@
class tx_linkvalidator_linktype_External extends tx_linkvalidator_linktype_Abstr
if (isset($this->urlReports[$url])) {
if (!$this->urlReports[$url]) {
- if(is_array($this->urlErrorParams[$url])) {
+ if
(is_array($this->urlErrorParams[$url])) {
$this->setErrorParams($this->urlErrorParams[$url]);
}
}
diff --git
a/typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_internal.php
b/typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_internal.php
index
e004677
..
27fbaa7
100644
(file)
--- a/
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_internal.php
+++ b/
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_internal.php
@@
-289,7
+289,7
@@
class tx_linkvalidator_linktype_Internal extends tx_linkvalidator_linktype_Abstr
if (count($rootLine) > 0) {
$protocol = t3lib_div::getIndpEnv('TYPO3_SSL') ? 'https://' : 'http://';
$domainRecord = t3lib_BEfunc::firstDomainRecord($rootLine);
- if(!empty($domainRecord)) {
+ if
(!empty($domainRecord)) {
$domain = $protocol . $domainRecord;
}
}
diff --git
a/typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_linkhandler.php
b/typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_linkhandler.php
index
313efc3
..
abaa92a
100644
(file)
--- a/
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_linkhandler.php
+++ b/
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_linkhandler.php
@@
-83,7
+83,7
@@
class tx_linkvalidator_linktype_LinkHandler extends tx_linkvalidator_linktype_Ab
}
}
- if(!$response) {
+ if
(!$response) {
$this->setErrorParams();
}