Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_news
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_news
Commits
3d878343
Commit
3d878343
authored
3 years ago
by
Kevin Ditscheid
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Remove unused function getCountOfLastUpdatedOrHighlightedNewsByCategories
parent
4d96a1c2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!34
[TASK] Remove the recalling of the indexAction, because it is not needed...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Domain/Repository/NewsRepository.php
+0
-24
0 additions, 24 deletions
Classes/Domain/Repository/NewsRepository.php
with
0 additions
and
24 deletions
Classes/Domain/Repository/NewsRepository.php
+
0
−
24
View file @
3d878343
...
...
@@ -239,30 +239,6 @@ class NewsRepository extends AbstractRepository {
)
->
execute
();
}
/**
* Returns the count of all possible last news.
*
* @param bool $onlyHighlighted
* @param array $categoryIds NULL, if the category filter isn't applied, otherwise an array with the categories uid.
* @param bool $hideNeverHighlightedNews
* @param string $sortBy date or positionInTree
* @param array $tagIds NULL, if the tag filter isn't applied, otherwise an array with the tag uids.
* @param int $startTime unix timestamp of the lower limit of the news results date
* @param int $endTime unix timestamp of the upper limit of the news results date
* @return int
* @throws \TYPO3\CMS\Extbase\Persistence\Exception\InvalidQueryException
*/
public
function
getCountOfLastUpdatedOrHighlightedNewsByCategories
(
$onlyHighlighted
=
FALSE
,
array
$categoryIds
=
NULL
,
$hideNeverHighlightedNews
=
FALSE
,
$sortBy
=
'date'
,
array
$tagIds
=
NULL
,
$startTime
=
0
,
$endTime
=
0
):
int
{
return
$this
->
getCount
(
$this
->
getQueryForLastUpdatedOrHighlightedNewsByCategories
(
0
,
$onlyHighlighted
,
$categoryIds
,
0
,
$hideNeverHighlightedNews
,
$sortBy
,
$tagIds
,
$startTime
,
$endTime
)
);
}
/**
* Returns the query object of the LastUpdatedOrHighlightedNewsByCategories.
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment