serghey-rodin/vesta — Issue #47: Redundant calls when adding web domain
Author: serghey-rodin
Created: 2012-02-10 12:45:27+00:00
State: open
Labels: api js, api php, bug

Here are commands that are sent to the core api when adding web domain test.com to abc user:

2012-02-10 07:12:38 v_add_web_domain abc test.com 192.168.1.1
2012-02-10 07:12:40 v_change_web_domain_tpl abc test.com default

It is too much redundant. Proper behavior should look like
2012-02-10 07:12:38 v_add_web_domain abc test.com 192.168.1.1 default

Because it can be done with only 1 command actually