$ltree_api_token = PConfig::get($b['uid'],'libertree','libertree_api_token');
$ltree_url = PConfig::get($b['uid'],'libertree','libertree_url');
$ltree_blog = "$ltree_url/api/v1/posts/create/?token=$ltree_api_token";
- $ltree_source = $a->get_hostname();
+ $ltree_source = $a->getHostName();
if ($b['app'] != "")
$ltree_source .= " (".$b['app'].")";
function mailstream_generate_id($a, $uri) {
// http://www.jwz.org/doc/mid.html
- $host = $a->get_hostname();
+ $host = $a->getHostName();
$resource = hash('md5', $uri);
$message_id = "<" . $resource . "@" . $host . ">";
logger('mailstream: Generated message ID ' . $message_id . ' for URI ' . $uri, LOGGER_DEBUG);
}
if (! x(Config::get('config', 'sender_email'))) {
- $sender_email = 'noreply@' . $a->get_hostname();
+ $sender_email = 'noreply@' . $a->getHostName();
} else {
$sender_email = Config::get('config', 'sender_email');
}
$application_name = Config::get('pumpio', 'application_name');
if ($application_name == "") {
- $application_name = $a->get_hostname();
+ $application_name = $a->getHostName();
}
$adminlist = explode(",", str_replace(" ", "", Config::get('config', 'admin_email')));
$application_name = Config::get('pumpio', 'application_name');
}
if ($application_name == "") {
- $application_name = $a->get_hostname();
+ $application_name = $a->getHostName();
}
$first_time = ($lastdate == "");
if ($_POST['securemail-submit'] == L10n::t('Save and send test')) {
$sitename = Config::get('config', 'sitename');
- $hostname = $a->get_hostname();
+ $hostname = $a->getHostName();
if (strpos($hostname, ':')) {
$hostname = substr($hostname, 0, strpos($hostname, ':'));
}
$application_name = Config::get('statusnet', 'application_name');
}
if ($application_name == "") {
- $application_name = $a->get_hostname();
+ $application_name = $a->getHostName();
}
$connection = new StatusNetOAuth($api, $ckey, $csecret, $otoken, $osecret);
$application_name = Config::get('twitter', 'application_name');
if ($application_name == "") {
- $application_name = $a->get_hostname();
+ $application_name = $a->getHostName();
}
$has_picture = false;
$application_name = Config::get('twitter', 'application_name');
if ($application_name == "") {
- $application_name = $a->get_hostname();
+ $application_name = $a->getHostName();
}
require_once 'include/items.php';
PConfig::set(local_user(), "xmpp", "password", $password);
}
- $jid = $a->user["nickname"] . "@" . $a->get_hostname() . "/converse-" . random_string(5);
+ $jid = $a->user["nickname"] . "@" . $a->getHostName() . "/converse-" . random_string(5);
$auto_login = "auto_login: true,
authentication: 'login',