PMA\libraries\navigation\nodes\Node::_isHideDb PHP Method

_isHideDb() private method

Detemines whether a given database should be hidden according to 'hide_db'
private _isHideDb ( string $db ) : boolean
$db string 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)) {
            return true;
        }
        return false;
    }