Magento community flush cache storage fix

Hello, I fixed flush cache storage in Magento Comunity, by checking version of magento in logAdminAction.