]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Found some unreachable code in Favorite
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Jan 2015 01:23:23 +0000 (02:23 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Jan 2015 01:23:23 +0000 (02:23 +0100)
commitaca5ff1b23152abf01551c384c1b1d43ecc40b6f
treea002fbe8118b16f868b29c86bcc017636cea3944
parent73669ed308f998f130728bcf6244d01c90a1914b
Found some unreachable code in Favorite

The portion after StartAtomPubNewActivity would never be reached since
Favorite handles that activity through ActivityHandlerPlugin nowadays.
So I cleaned it up and followed a couple of paths, making stuff prettier.
lib/activityhandlerplugin.php
lib/mail.php
plugins/Favorite/actions/atompubfavoritefeed.php
plugins/Favorite/classes/Fave.php
plugins/Favorite/lib/favcommand.php