aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Service_limits.php
blob: aa27f7a9cbb8e4aed38f2f04202f1ac5b9389b65 (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
24
25
26
27
28
<?php
namespace Zotlabs\Module; /** @file */

use Zotlabs\Lib\Config;

class Service_limits extends \Zotlabs\Web\Controller {

	function get() {

		if(! local_channel()) {
			notice( t('Permission denied.') . EOL);
			return;
		}

		$account = \App::get_account();
		if($account['account_service_class']) {
			$x =  Config::Get('service_class',$account['account_service_class']);
			if($x) {
				$o = print_r($x,true);
				return $o;
			}
		}
		return t('No service class restrictions found.');
	}



}