Fix abstract passwords in host/domain manage planel logins

This commit is contained in:
Deon George
2012-06-22 15:12:59 +10:00
parent 0eecfe8abd
commit df82268405
12 changed files with 93 additions and 42 deletions

View File

@@ -14,14 +14,14 @@ class Model_Domain_Registrar extends ORMOSB {
/**
* The button that provides a login to the Registrar to manage the domain license
*/
public function manage_button($u,$p,$d) {
public function manage_button(Model_Service_Plugin_Domain $spdo,$t) {
$c = sprintf('Service_Domain_%s',$this->file);
if (! class_exists($c))
return '';
$po = new $c($this->id);
return $po->manage_button($u,$p,$d);
return $po->manage_button($spdo,$t);
}
}
?>