Project

General

Profile

Actions

Task #56167

closed

Cleanup exec_SELECTcountRows() calls to NOT count *

Added by Michiel Roos about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2014-02-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

Replace 18 calls to exec_SELECTcountRows() to not count on all fields, but just on the uid field.

Use:

$GLOBALS['TYPO3_DB']->exec_SELECTcountRows('uid', $t)

Instead of:
$GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', $t)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #55568: BE: Only make SQL count calls on uid not *ClosedBenni Mack2014-02-01

Actions
Actions

Also available in: Atom PDF