aboutsummaryrefslogtreecommitdiffstats
path: root/mod/service_limits.php
blob: 8ce410ab6ad5f06f8e0c1d1e914060fa58c96ce6 (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 = App::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.');
}