Issue Feature Closed

#22463Add a method to check if database is connected

Dmitry Dulepov 04/15/10, 10:52 updated 07/02/10, 11:16

Description

There is no reliable method to check if database is connected in TYPO3. In case if native implementation is used, $TYPO3_DB->link can be checked. In case of DBAL there is no solution without knowing DBAL internals.

The patch adds a new generic function named “isConnected” to t3lib_db and DBAL.

(issue imported from #M14120)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.