@@ -481,7 +481,7 @@ public function sites_web_vhost_aliasdomain_get($session_id, $primary_id)
481481 return false ;
482482 }
483483 $ app ->uses ('remoting_lib ' );
484- $ app ->remoting_lib ->loadFormDef ('../sites/form/web_vhost_aliasdomain .tform.php ' );
484+ $ app ->remoting_lib ->loadFormDef ('../sites/form/web_vhost_domain .tform.php ' );
485485 return $ app ->remoting_lib ->getDataRecord ($ primary_id );
486486 }
487487
@@ -505,7 +505,7 @@ public function sites_web_vhost_aliasdomain_add($session_id, $client_id, $params
505505 if ($ params ['pm_min_spare_servers ' ] == '' ) $ params ['pm_min_spare_servers ' ] = 1 ;
506506 if ($ params ['pm_max_spare_servers ' ] == '' ) $ params ['pm_max_spare_servers ' ] = 1 ;
507507
508- $ domain_id = $ this ->insertQuery ('../sites/form/web_vhost_aliasdomain .tform.php ' , $ client_id , $ params , 'sites:web_vhost_aliasdomain:on_after_insert ' );
508+ $ domain_id = $ this ->insertQuery ('../sites/form/web_vhost_domain .tform.php ' , $ client_id , $ params , 'sites:web_vhost_aliasdomain:on_after_insert ' );
509509 return $ domain_id ;
510510 }
511511
@@ -523,7 +523,7 @@ public function sites_web_vhost_aliasdomain_update($session_id, $client_id, $pri
523523 if ($ params ['pm_min_spare_servers ' ] == '' ) $ params ['pm_min_spare_servers ' ] = 1 ;
524524 if ($ params ['pm_max_spare_servers ' ] == '' ) $ params ['pm_max_spare_servers ' ] = 1 ;
525525
526- $ affected_rows = $ this ->updateQuery ('../sites/form/web_vhost_aliasdomain .tform.php ' , $ client_id , $ primary_id , $ params , 'sites:web_vhost_aliasdomain:on_after_insert ' );
526+ $ affected_rows = $ this ->updateQuery ('../sites/form/web_vhost_domain .tform.php ' , $ client_id , $ primary_id , $ params , 'sites:web_vhost_aliasdomain:on_after_insert ' );
527527 return $ affected_rows ;
528528 }
529529
@@ -534,7 +534,7 @@ public function sites_web_vhost_aliasdomain_delete($session_id, $primary_id)
534534 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
535535 return false ;
536536 }
537- $ affected_rows = $ this ->deleteQuery ('../sites/form/web_vhost_aliasdomain .tform.php ' , $ primary_id );
537+ $ affected_rows = $ this ->deleteQuery ('../sites/form/web_vhost_domain .tform.php ' , $ primary_id );
538538 return $ affected_rows ;
539539 }
540540
@@ -550,7 +550,7 @@ public function sites_web_vhost_subdomain_get($session_id, $primary_id)
550550 return false ;
551551 }
552552 $ app ->uses ('remoting_lib ' );
553- $ app ->remoting_lib ->loadFormDef ('../sites/form/web_vhost_subdomain .tform.php ' );
553+ $ app ->remoting_lib ->loadFormDef ('../sites/form/web_vhost_domain .tform.php ' );
554554 return $ app ->remoting_lib ->getDataRecord ($ primary_id );
555555 }
556556
@@ -574,7 +574,7 @@ public function sites_web_vhost_subdomain_add($session_id, $client_id, $params)
574574 if ($ params ['pm_min_spare_servers ' ] == '' ) $ params ['pm_min_spare_servers ' ] = 1 ;
575575 if ($ params ['pm_max_spare_servers ' ] == '' ) $ params ['pm_max_spare_servers ' ] = 1 ;
576576
577- $ domain_id = $ this ->insertQuery ('../sites/form/web_vhost_subdomain .tform.php ' , $ client_id , $ params , 'sites:web_vhost_subdomain:on_after_insert ' );
577+ $ domain_id = $ this ->insertQuery ('../sites/form/web_vhost_domain .tform.php ' , $ client_id , $ params , 'sites:web_vhost_subdomain:on_after_insert ' );
578578 return $ domain_id ;
579579 }
580580
@@ -592,7 +592,7 @@ public function sites_web_vhost_subdomain_update($session_id, $client_id, $prima
592592 if ($ params ['pm_min_spare_servers ' ] == '' ) $ params ['pm_min_spare_servers ' ] = 1 ;
593593 if ($ params ['pm_max_spare_servers ' ] == '' ) $ params ['pm_max_spare_servers ' ] = 1 ;
594594
595- $ affected_rows = $ this ->updateQuery ('../sites/form/web_vhost_subdomain .tform.php ' , $ client_id , $ primary_id , $ params , 'sites:web_vhost_subdomain:on_after_insert ' );
595+ $ affected_rows = $ this ->updateQuery ('../sites/form/web_vhost_domain .tform.php ' , $ client_id , $ primary_id , $ params , 'sites:web_vhost_subdomain:on_after_insert ' );
596596 return $ affected_rows ;
597597 }
598598
@@ -603,7 +603,7 @@ public function sites_web_vhost_subdomain_delete($session_id, $primary_id)
603603 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
604604 return false ;
605605 }
606- $ affected_rows = $ this ->deleteQuery ('../sites/form/web_vhost_subdomain .tform.php ' , $ primary_id );
606+ $ affected_rows = $ this ->deleteQuery ('../sites/form/web_vhost_domain .tform.php ' , $ primary_id );
607607 return $ affected_rows ;
608608 }
609609
@@ -619,7 +619,7 @@ public function sites_web_aliasdomain_get($session_id, $primary_id)
619619 return false ;
620620 }
621621 $ app ->uses ('remoting_lib ' );
622- $ app ->remoting_lib ->loadFormDef ('../sites/form/web_aliasdomain .tform.php ' );
622+ $ app ->remoting_lib ->loadFormDef ('../sites/form/web_childdomain .tform.php ' );
623623 return $ app ->remoting_lib ->getDataRecord ($ primary_id );
624624 }
625625
@@ -630,7 +630,7 @@ public function sites_web_aliasdomain_add($session_id, $client_id, $params)
630630 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
631631 return false ;
632632 }
633- return $ this ->insertQuery ('../sites/form/web_aliasdomain .tform.php ' , $ client_id , $ params );
633+ return $ this ->insertQuery ('../sites/form/web_childdomain .tform.php ' , $ client_id , $ params );
634634 }
635635
636636 //* Update a record
@@ -640,7 +640,7 @@ public function sites_web_aliasdomain_update($session_id, $client_id, $primary_i
640640 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
641641 return false ;
642642 }
643- $ affected_rows = $ this ->updateQuery ('../sites/form/web_aliasdomain .tform.php ' , $ client_id , $ primary_id , $ params );
643+ $ affected_rows = $ this ->updateQuery ('../sites/form/web_childdomain .tform.php ' , $ client_id , $ primary_id , $ params );
644644 return $ affected_rows ;
645645 }
646646
@@ -651,7 +651,7 @@ public function sites_web_aliasdomain_delete($session_id, $primary_id)
651651 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
652652 return false ;
653653 }
654- $ affected_rows = $ this ->deleteQuery ('../sites/form/web_aliasdomain .tform.php ' , $ primary_id );
654+ $ affected_rows = $ this ->deleteQuery ('../sites/form/web_childdomain .tform.php ' , $ primary_id );
655655 return $ affected_rows ;
656656 }
657657
@@ -667,7 +667,7 @@ public function sites_web_subdomain_get($session_id, $primary_id)
667667 return false ;
668668 }
669669 $ app ->uses ('remoting_lib ' );
670- $ app ->remoting_lib ->loadFormDef ('../sites/form/web_subdomain .tform.php ' );
670+ $ app ->remoting_lib ->loadFormDef ('../sites/form/web_childdomain .tform.php ' );
671671 return $ app ->remoting_lib ->getDataRecord ($ primary_id );
672672 }
673673
@@ -678,7 +678,7 @@ public function sites_web_subdomain_add($session_id, $client_id, $params)
678678 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
679679 return false ;
680680 }
681- return $ this ->insertQuery ('../sites/form/web_subdomain .tform.php ' , $ client_id , $ params );
681+ return $ this ->insertQuery ('../sites/form/web_childdomain .tform.php ' , $ client_id , $ params );
682682 }
683683
684684 //* Update a record
@@ -688,7 +688,7 @@ public function sites_web_subdomain_update($session_id, $client_id, $primary_id,
688688 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
689689 return false ;
690690 }
691- $ affected_rows = $ this ->updateQuery ('../sites/form/web_subdomain .tform.php ' , $ client_id , $ primary_id , $ params );
691+ $ affected_rows = $ this ->updateQuery ('../sites/form/web_childdomain .tform.php ' , $ client_id , $ primary_id , $ params );
692692 return $ affected_rows ;
693693 }
694694
@@ -699,7 +699,7 @@ public function sites_web_subdomain_delete($session_id, $primary_id)
699699 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
700700 return false ;
701701 }
702- $ affected_rows = $ this ->deleteQuery ('../sites/form/web_subdomain .tform.php ' , $ primary_id );
702+ $ affected_rows = $ this ->deleteQuery ('../sites/form/web_childdomain .tform.php ' , $ primary_id );
703703 return $ affected_rows ;
704704 }
705705
0 commit comments