Bug #24114 ยป 16455.diff
typo3/sysext/em/classes/database/class.tx_em_database.php (working copy) | ||
---|---|---|
public function getExtensionCountFromRepository($repository = NULL) {
|
||
if (is_null($repository)) {
|
||
return $GLOBALS['TYPO3_DB']->exec_SELECTcountRows(
|
||
'DISTINCT(extkey)',
|
||
'DISTINCT extkey',
|
||
self::TABLE_EXTENSION
|
||
);
|
||
} else {
|
||
return $GLOBALS['TYPO3_DB']->exec_SELECTcountRows(
|
||
'DISTINCT(extkey)',
|
||
'DISTINCT extkey',
|
||
self::TABLE_EXTENSION,
|
||
'repository=' . intval($repository)
|
||
);
|