Revert "Changed case for 2 arguments in query function"

This reverts commit 44db31d3895dbccab30ac1e0384ed63058aa1650.
Reverting previous commit (applied in develop branch instead)
Disable the deleting of the default type storage location
moving single pages, blocks, src, controllers into core
Fixed thumbnail saving when file storage location is set.
Removed object type check.
Starting on integration of i18n
Merge branch 'develop' into feature/integrate-multilingual
Close #1543; more integration of multilingual
Merge branch 'develop' into feature/integrate-multilingual
more work on multilingual, getting the events ported over and the panel started
Merge branch 'develop' into feature/integrate-multilingual
more work on i18n
Merge branch 'develop' into feature/integrate-multilingual
Fix #1584
composer update
more work on i18n
multilingual panel work
../web/concrete/single_pages/dashboard/
multilingual