Fix #28: array_shift() E_NOTICE in owncloud.log