load texteditor only if user is logged in, oterwiese it will also register for public shares which will block downloads
fix if condition
Merge pull request #1207 from owncloud/load_texteditor_only_if_loggedin

fix public link downloads - load texteditor only if user is logged in