]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
PHP5.5 fix: Better use of startXML for Action classes (mostly AJAX)
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Sep 2013 23:17:04 +0000 (01:17 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Sep 2013 23:18:33 +0000 (01:18 +0200)
commit1c6f9df80e7e6927e964fdfdd72fda9b15106ddd
tree5ca61d74968638340e259169f47ae4e7e76195e4
parent1744fec89f68a42e03a4770443be353e51b4d4d4
PHP5.5 fix: Better use of startXML for Action classes (mostly AJAX)

I had a problem with PHP5.5 that caused ajax responses to be empty. This
fixes it, as the problem was related to pretty inconsistent calling to
headers, XMLWriter::startDocument etc. etc.
23 files changed:
actions/conversationreplies.php
actions/newmessage.php
actions/newnotice.php
actions/shownotice.php
lib/atom10feed.php
lib/htmloutputter.php
plugins/Blog/actions/newblogentry.php
plugins/Bookmark/actions/newbookmark.php
plugins/Event/actions/cancelrsvp.php
plugins/Event/actions/newevent.php
plugins/Event/actions/newrsvp.php
plugins/MobileProfile/MobileProfilePlugin.php
plugins/OStatus/actions/ostatusinit.php
plugins/OStatus/actions/ostatussub.php
plugins/Poll/actions/newpoll.php
plugins/Poll/actions/respondpoll.php
plugins/QnA/actions/qnaclosequestion.php
plugins/QnA/actions/qnanewanswer.php
plugins/QnA/actions/qnanewquestion.php
plugins/QnA/actions/qnareviseanswer.php
plugins/QnA/actions/qnavote.php
plugins/UserFlag/actions/clearflag.php
plugins/UserFlag/actions/flagprofile.php