Skip to content

Commit e3282a8

Browse files
committed
updates to _get_password calls adding optional custid parameter for a big speed improvement
1 parent c558910 commit e3282a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function getActivate(GenericEvent $event)
7373
if (trim($hostname) == '') {
7474
$hostname = $serviceClass->getId().'.server.com';
7575
}
76-
$password = website_get_password($serviceClass->getId());
76+
$password = website_get_password($serviceClass->getId(), $serviceClass->getCustid());
7777
$username = get_new_webhosting_username($serviceClass->getId(), $hostname, $serviceClass->getServer());
7878
function_requirements('whm_api');
7979
$user = 'root';

0 commit comments

Comments
 (0)