no need to prepare a statement twice
wwe no longer have a versions table
call self::getNumericStorageId() to get the numeric ID
Merge pull request #8966 from owncloud/fix_failing_tests_on_master

Fix failing tests on master