Skip to content

Commit ed2287a

Browse files
committed
updates to _get_password calls adding optional custid parameter for a big speed improvement
1 parent 1614e97 commit ed2287a

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
@@ -61,7 +61,7 @@ public static function getActivate(GenericEvent $event)
6161
if (trim($hostname) == '') {
6262
$hostname = $serviceClass->getId().'.server.com';
6363
}
64-
$password = website_get_password($serviceClass->getId());
64+
$password = website_get_password($serviceClass->getId(), $serviceClass->getCustid());
6565
$username = get_new_webhosting_username($serviceClass->getId(), $hostname, $serviceClass->getServer());
6666
include_once __DIR__.'/get_webhosting_ppa_instance.php';
6767
$ppaConnector = get_webhosting_ppa_instance($serverdata);

0 commit comments

Comments
 (0)