mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 05:41:52 +09:00
Update MOFH.php
This commit is contained in:
1 parent
b3d3c9b5cb
commit
03e2f3bb94
1 file changed
+4
-4
@@ -63,7 +63,7 @@ class Server_Manager_MOFH extends Server_Manager
|
||||
public static function getForm()
|
||||
{
|
||||
return array(
|
||||
'label' => 'MyOwnFreeHost',
|
||||
'label' => 'MyOwnFreeHost',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -119,14 +119,14 @@ class Server_Manager_MOFH extends Server_Manager
|
||||
};
|
||||
|
||||
// Setting the username to the one that is being used in the client area.
|
||||
$a->username = $response->getUsername();
|
||||
$a->setUsername($response->getUsername());
|
||||
}
|
||||
|
||||
// If something went wrong, we'll catch the error, and display it.
|
||||
if (!$response->isSuccessful()) {
|
||||
throw new Server_Exception($response->getMessage());
|
||||
}
|
||||
|
||||
|
||||
return $a;
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ class Server_Manager_MOFH extends Server_Manager
|
||||
$response = $request->send();
|
||||
|
||||
// Setting the username to the one that is being used in the client area.
|
||||
$a->username = $response->getVpUsername();
|
||||
$a->setUsername($response->getVpUsername());
|
||||
|
||||
// If something went wrong, we'll catch the error, and display it.
|
||||
if (!$response->isSuccessful()) {
|
||||
|
||||
Reference in new issue
Block a user