Fix coding style violations

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-01-23 16:56:59 +05:30
parent 153988f0f9
commit 750bfbbcb4

View File

@ -640,14 +640,14 @@ class Node
/**
* Detemines whether a given database should be hidden according to 'hide_db'
*
* @param string $db
* database name
* @param string $db database name
*
* @return boolean whether to hide
*/
private function _isHideDb($db) {
if (! empty ( $GLOBALS ['cfg'] ['Server'] ['hide_db'] )
&& preg_match ( '/' . $GLOBALS ['cfg'] ['Server'] ['hide_db'] . '/', $db )
private function _isHideDb($db)
{
if (! empty($GLOBALS['cfg']['Server']['hide_db'])
&& preg_match('/' . $GLOBALS['cfg']['Server']['hide_db'] . '/', $db)
) {
return true;
}