Skip to content

Commit

Permalink
Merge branch '8-0' of https://github.com/typo3-themes/themes into 8-0
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeuling committed Jun 26, 2017
2 parents 05d064e + 94c1173 commit 1cfe818
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions Classes/DataProcessing/ThemesButtonDataProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,4 @@ protected function getFrontendController()
{
return $GLOBALS['TSFE'];
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function main(&$params, \TYPO3\CMS\Core\TypoScript\TemplateService
);
/** @var \Doctrine\DBAL\Driver\Statement $statement */
$statement = $queryBuilder->execute();
if($statement->rowCount()>0) {
if ($statement->rowCount()>0) {
$tRow = $statement->fetch();
$themeIdentifier = $tRow['tx_themes_skin'];
//
Expand Down
2 changes: 1 addition & 1 deletion Classes/Tca/AbstractContentRow.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected function getPidFromParentContentElement($pid)
);
/** @var \Doctrine\DBAL\Driver\Statement $statement */
$statement = $queryBuilder->execute();
if($statement->rowCount()>0) {
if ($statement->rowCount()>0) {
$row = $statement->fetch();
$parentPid = $row['pid'];
}
Expand Down
6 changes: 3 additions & 3 deletions Classes/Utilities/CheckPageUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function hasTheme($pid)
);
/** @var \Doctrine\DBAL\Driver\Statement $statement */
$statement = $queryBuilder->execute();
if($statement->rowCount()>0) {
if ($statement->rowCount()>0) {
$hasTheme = true;
}
return $hasTheme;
Expand Down Expand Up @@ -66,7 +66,7 @@ public static function hasThemeableSysTemplateRecord($pid)
);
/** @var \Doctrine\DBAL\Driver\Statement $statement */
$statement = $queryBuilder->execute();
if($statement->rowCount()>0) {
if ($statement->rowCount()>0) {
$themeable = true;
}
return $themeable;
Expand Down Expand Up @@ -95,7 +95,7 @@ public static function getThemeableSysTemplateRecord($pid)
);
/** @var \Doctrine\DBAL\Driver\Statement $statement */
$statement = $queryBuilder->execute();
if($statement->rowCount()>0) {
if ($statement->rowCount()>0) {
$row = $statement->fetch();
$themeable = $row['uid'];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected function getSysLanguage($uid = 0)
);
/** @var \Doctrine\DBAL\Driver\Statement $statement */
$statement = $queryBuilder->execute();
if($statement->rowCount()>0) {
if ($statement->rowCount()>0) {
$sysLanguage = $statement->fetch();
}
return $sysLanguage;
Expand Down Expand Up @@ -163,7 +163,7 @@ protected function hasTranslation($pid, $languageUid)
);
/** @var \Doctrine\DBAL\Driver\Statement $statement */
$statement = $queryBuilder->execute();
if($statement->rowCount()>0) {
if ($statement->rowCount()>0) {
$hasTranslation = true;
}
return $hasTranslation;
Expand Down

0 comments on commit 1cfe818

Please sign in to comment.