Fixed "Workaround for bad use of version numbers in patches" commit

Plugin version param moved to config_plugins table