View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016871||phpList 3 application||Plugin API||public||08-09-13 23:12||16-01-19 09:56|
|Summary||0016871: Plugin method processSuccesFailure() doesn't appear to have any effect|
|Description||The plugin method processSuccesFailure() doesn't appear to have any effect.|
The comment block in defaultplugin.php seems to suggest that the plugin can decide to fail the message, but the calling code ignores what the plugin returns.
# purpose: process the success or failure of sending an email in $sendformat
# if function returns false, caller will know the whole email should be marked as failed
# Currently used in sendemaillib.php
It is called in sendemaillib.php before the email has been sent.
The method name is also misspelt - it should be processSuccessFailure(), but would be better renamed to reflect what it is meant to do.
|Tags||No tags attached.|
I didn't make this method and I don't actually know it's purpose. I think it was the RSS plugin, but I will need to check it. I will verify and if necessary remove the method.
I recently added processSendSuccess and processSendFailed, which have more use.