mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
23 lines
No EOL
402 B
PHP
23 lines
No EOL
402 B
PHP
<?php /** @file */
|
|
|
|
|
|
function service_limits_content(&$a) {
|
|
|
|
if(! local_channel()) {
|
|
notice( t('Permission denied.') . EOL);
|
|
return;
|
|
}
|
|
|
|
$account = $a->get_account();
|
|
if($account['account_service_class']) {
|
|
$x = get_config('service_class',$account['account_service_class']);
|
|
if($x) {
|
|
$o = print_r($x,true);
|
|
return $o;
|
|
}
|
|
}
|
|
return t('No service class restrictions found.');
|
|
}
|
|
|
|
|
|
|