Avoid having to check for notices without rendered copies in upgrade.php
Always call the Notice->getRendered() function to get a rendered copy. We could perhaps put some sanitation there too in the future
This commit is contained in:
@@ -144,8 +144,6 @@ class ActivityModerationPlugin extends ActivityVerbHandlerPlugin
|
||||
foreach($props as $prop) {
|
||||
$stored->$prop = $target->$prop;
|
||||
}
|
||||
//$stored->content = $stored->content ?: _('Notice deleted.');
|
||||
//$stored->rendered = $stored->rendered ?: $stored->rendered;
|
||||
|
||||
// Let's see if this has been deleted already.
|
||||
try {
|
||||
|
Reference in New Issue
Block a user