<?php
// Get helper instance
-$helperInstance = WebLinkHelper::createWebLinkHelper($this, 'login_retry_link', 'index.php?app={?app_short_name?}&page=login');
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'login_retry_link', 'index.php?app={?app_short_name?}&page=login'));
// Set link text
$helperInstance->addLinkWithTextById('login_retry_text');