Bolt\Legacy\Storage::logDelete PHP Method

logDelete() private method

This function must be called *before* the actual update, because it.
private logDelete ( string $contenttype, integer $contentid, array $content, string $comment = null )
$contenttype string Slug of the record contenttype
$contentid integer ID of the record
$content array Record values
$comment string Editor's comment
    private function logDelete($contenttype, $contentid, $content, $comment = null)
    {
        $this->app['logger.change']->info('Delete record', ['action' => 'DELETE', 'contenttype' => $contenttype, 'id' => $contentid, 'new' => null, 'old' => $content, 'comment' => $comment]);
    }