aboutsummaryrefslogtreecommitdiffstats
path: root/mod/service_limits.php
blob: ac96668ab0be0a49f6a16412be75b5a49afaf40a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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.');
}