mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-28 16:23:16 +00:00
fbpost: Bugfix: The link to the reauthentification was directed to the wrong plugin.
This commit is contained in:
parent
bb55bbe980
commit
cc689ea91d
1 changed files with 2 additions and 2 deletions
|
@ -808,10 +808,10 @@ function fbpost_post_hook(&$a,&$b) {
|
||||||
*/
|
*/
|
||||||
function fbpost_enotify(&$app, &$data) {
|
function fbpost_enotify(&$app, &$data) {
|
||||||
if (x($data, 'params') && $data['params']['type'] == NOTIFY_SYSTEM && x($data['params'], 'system_type') && $data['params']['system_type'] == 'facebook_connection_invalid') {
|
if (x($data, 'params') && $data['params']['type'] == NOTIFY_SYSTEM && x($data['params'], 'system_type') && $data['params']['system_type'] == 'facebook_connection_invalid') {
|
||||||
$data['itemlink'] = '/facebook';
|
$data['itemlink'] = '/fbpost';
|
||||||
$data['epreamble'] = $data['preamble'] = t('Your Facebook connection became invalid. Please Re-authenticate.');
|
$data['epreamble'] = $data['preamble'] = t('Your Facebook connection became invalid. Please Re-authenticate.');
|
||||||
$data['subject'] = t('Facebook connection became invalid');
|
$data['subject'] = t('Facebook connection became invalid');
|
||||||
$data['body'] = sprintf( t("Hi %1\$s,\n\nThe connection between your accounts on %2\$s and Facebook became invalid. This usually happens after you change your Facebook-password. To enable the connection again, you have to %3\$sre-authenticate the Facebook-connector%4\$s."), $data['params']['to_name'], "[url=" . $app->config["system"]["url"] . "]" . $app->config["sitename"] . "[/url]", "[url=" . $app->config["system"]["url"] . "/facebook]", "[/url]");
|
$data['body'] = sprintf( t("Hi %1\$s,\n\nThe connection between your accounts on %2\$s and Facebook became invalid. This usually happens after you change your Facebook-password. To enable the connection again, you have to %3\$sre-authenticate the Facebook-connector%4\$s."), $data['params']['to_name'], "[url=" . $app->config["system"]["url"] . "]" . $app->config["sitename"] . "[/url]", "[url=" . $app->config["system"]["url"] . "/fbpost]", "[/url]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue