streams/mod/service_limits.php

23 lines
402 B
PHP
Raw Normal View History

<?php /** @file */
function service_limits_content(&$a) {
2015-01-29 04:56:04 +00:00
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.');
}