* @file mod/fsuggest.php
*/
use Friendica\App;
+use Friendica\Core\L10n;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
intval(local_user())
);
if (! DBM::is_result($r)) {
- notice( t('Contact not found.') . EOL);
+ notice(L10n::t('Contact not found.') . EOL);
return;
}
$contact = $r[0];
Worker::add(PRIORITY_HIGH, 'Notifier', 'suggest', $fsuggest_id);
}
- info( t('Friend suggestion sent.') . EOL);
+ info(L10n::t('Friend suggestion sent.') . EOL);
}
}
require_once 'include/acl_selectors.php';
if (! local_user()) {
- notice(t('Permission denied.') . EOL);
+ notice(L10n::t('Permission denied.') . EOL);
return;
}
intval(local_user())
);
if (! DBM::is_result($r)) {
- notice(t('Contact not found.') . EOL);
+ notice(L10n::t('Contact not found.') . EOL);
return;
}
$contact = $r[0];