Update MOFH.php

This commit is contained in:
evrifaessa committed 2020-11-26 20:44:41 +03:00
1 parent b3d3c9b5cb
commit 03e2f3bb94
1 file changed
+4 -4
+4 -4
View File
@@ -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()) {