remove code properly
Merge pull request #1565 from owncloud/fix_replacing

remove code properly to make @DeepDiver1975 happy ;)