mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
Update Service.php
This commit is contained in:
1 parent
ba6e07d136
commit
0dbfbba11a
1 file changed
+2
-2
@@ -442,9 +442,9 @@ class Service implements InjectionAwareInterface
|
||||
return array($adapter, $a);
|
||||
}
|
||||
|
||||
public function toApiArray(\Model_ServiceHosting $model, $deep = false, $identity = null)
|
||||
public function toApiArray(\Model_ServiceHostingServer $model, $deep = false, $identity = null)
|
||||
{
|
||||
$serviceHostingServerModel = $this->di['db']->load('ServiceHostingServer', $model->service_hosting_server_id);
|
||||
$serviceHostingServerModel = $this->di['db']->load('ServiceHosting', $model->service_hosting_server_id);
|
||||
$serviceHostingHpModel = $this->di['db']->load('ServiceHostingHp', $model->service_hosting_hp_id);
|
||||
$server = $this->toHostingServerApiArray($serviceHostingServerModel, $deep, $identity);
|
||||
$hp = $this->toHostingHpApiArray($serviceHostingHpModel, $deep, $identity);
|
||||
|
||||
Reference in new issue
Block a user