public function delete() { $this->initDbIfNeeded(); $table = $this->getTableName(); $sql = "DELETE FROM {$table} WHERE `plugin_name` = ? and `user_login` = ?"; $bind = array($this->pluginName, $this->userLogin); $this->db->query($sql, $bind); }