aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Module/Service_limits.php
blob: aa27f7a9cbb8e4aed38f2f04202f1ac5b9389b65 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                      
                       



                                                      
 



                                                               
 

                                                       
                                                                                             






                                                                 


 
 
<?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.');
	}



}