public function validateDb()
    {
        $existing = $this->db->query('SHOW TABLES')->fetchColumn();

        if (empty($existing)) {
            return true;
        }

        return $this->translation->text('The database you specified already has tables');
    }
public function validateDb()
    {
        $existing = $this->db->query('SHOW TABLES')->fetchColumn();

        if (empty($existing)) {
            return true;
        }

        return $this->translation->text('The database you specified already has tables');
    }
public function validateDb ( ) { $ existing = $ this -> db -> query ( 'SHOW TABLES' ) -> fetchColumn ( ) ; if ( empty ( $ existing ) ) { return true ; } return $ this -> translation -> text ( 'The database you specified already has tables' ) ; }
Validate the database is ready for installation process
@return boolean|string
Validate the database is ready for installation process