Remove warning when deleting all entries

When deleting all entries, only "allfiles" is defined but not "file" or
"files", which caused a PHP warning to be logged.
Merge if statements
Merge pull request #9168 from owncloud/files-phpwarningondelete

Remove warning when deleting all entries