Piwik\Settings\Storage\Backend\PluginSettingsTable::delete PHP Method

delete() public method

public delete ( )
    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);
    }