humhub/humhub — pull request #159 by bibabu512 (2014-09-11 15:05:41+00:00)
Title: removed dead code ($success), changed the connection state detection.

dead code $success removed. i recommend another way to detect a working connection:

getServerVersion() calls getAttribute(PDO::ATTR_SERVER_VERSION). getAttribute() calls setActive(true) first. i gusss its better to call setActive directly and use getActives return value.