public function updateDatabase()
    {
        $storageRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('MASK\\Mask\\Domain\\Repository\\StorageRepository');
        $json = $storageRepository->load();
        $sqlStatements = $this->getSqlByConfiguration($json);
        if (count($sqlStatements) > 0) {
            $response = $this->performDbUpdates($sqlStatements);
        }
        return $response;
    }
public function updateDatabase()
    {
        $storageRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('MASK\\Mask\\Domain\\Repository\\StorageRepository');
        $json = $storageRepository->load();
        $sqlStatements = $this->getSqlByConfiguration($json);
        if (count($sqlStatements) > 0) {
            $response = $this->performDbUpdates($sqlStatements);
        }
        return $response;
    }
public function updateDatabase ( ) { $ storageRepository = \ TYPO3 \ CMS \ Core \ Utility \ GeneralUtility :: makeInstance ( 'MASK\\Mask\\Domain\\Repository\\StorageRepository' ) ; $ json = $ storageRepository -> load ( ) ; $ sqlStatements = $ this -> getSqlByConfiguration ( $ json ) ; if ( count ( $ sqlStatements ) > 0 ) { $ response = $ this -> performDbUpdates ( $ sqlStatements ) ; } return $ response ; }
Updates the database if necessary

@author Benjamin Butschell <bb@webprofil.at>
@return array
Updates the database if necessary