*/
use Friendica\App;
use Friendica\Core\Config;
+use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Database\DBM;
use Friendica\Model\Profile;
function profperm_content(App $a) {
if (! local_user()) {
- notice( t('Permission denied') . EOL);
+ notice(L10n::t('Permission denied') . EOL);
return;
}
if($a->argc < 2) {
- notice( t('Invalid profile identifier.') . EOL );
+ notice(L10n::t('Invalid profile identifier.') . EOL );
return;
}
intval(local_user())
);
if (! DBM::is_result($r)) {
- notice( t('Invalid profile identifier.') . EOL );
+ notice(L10n::t('Invalid profile identifier.') . EOL );
return;
}
$profile = $r[0];