/** * Deletes all plugin entities comments. * * @param string $pluginKey */ public function deletePluginComments($pluginKey) { $pluginKey = trim($pluginKey); $this->commentDao->deleteByPluginKey($pluginKey); $this->commentEntityDao->deleteByPluginKey($pluginKey); }