Deleted TODOs after noting them as JIRA issues
This commit is contained in:
@ -19,7 +19,6 @@ class Renderer {
|
||||
const FILTER_POST_PROCESS = 'mailpoet_rendering_post_process';
|
||||
|
||||
function __construct($newsletter, $preview = false) {
|
||||
// TODO: remove ternary condition, refactor to use model objects
|
||||
$this->newsletter = (is_object($newsletter)) ? $newsletter->asArray() : $newsletter;
|
||||
$this->preview = $preview;
|
||||
$this->blocks_renderer = new Blocks\Renderer($this->newsletter, $this->preview);
|
||||
@ -210,4 +209,4 @@ class Renderer {
|
||||
);
|
||||
return $content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -26,7 +26,6 @@ class Manage {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: success/error messages (not present in MP2)
|
||||
Url::redirectBack();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,6 @@ jQuery.fn.spectrum = global.spectrum;
|
||||
jQuery.fn.stick_in_parent = function () { return this; };
|
||||
|
||||
// Add global stubs for convenience
|
||||
// TODO: Extract those to a separate file
|
||||
global.stubChannel = function (EditorApplication, returnObject) {
|
||||
var App = EditorApplication;
|
||||
App.getChannel = sinon.stub().returns(_.defaults(returnObject || {}, {
|
||||
|
@ -81,7 +81,6 @@
|
||||
</td>
|
||||
</tr>
|
||||
<!-- ability to subscribe in comments -->
|
||||
<!-- TODO: Check if registration is enabled (if not, display a message and disable setting) -->
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="settings[subscribe_on_comment]">
|
||||
@ -140,8 +139,6 @@
|
||||
</td>
|
||||
</tr>
|
||||
<!-- ability to subscribe when registering -->
|
||||
<!-- TODO: Only available for the main site of a multisite! -->
|
||||
<!-- TODO: Check if registration is enabled (if not, display a message and disable setting) -->
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="settings[subscribe_on_register]">
|
||||
|
Reference in New Issue
Block a user