Closed chrisdavenport closed 8 years ago
This seems wrong. The __construct
takes a config array (https://github.com/joomla-projects/webservices/blob/chrisdavenport-patch-2/component/admin/Webservices/Model/FormModel.php#L78) which isn't actually then used anyhow (I dunno if it's supposed to be injected into the Registry
object being created there. Either way - injecting a string into this model like you are doing on line 33 has to be wrong!
The model that's being instantiated is this one: https://github.com/joomla-projects/webservices/blob/develop/component/admin/Webservices/Model/WebservicesModel.php#L82
OK I'm blind. Apologies
Add context name for WebservicesModel constructor. Throw a temporary exception when attempting to install in batch mode. Fix code style issues.