streams/Zotlabs/Module/Clients.php
2019-10-09 22:51:48 -07:00

23 lines
472 B
PHP

<?php
namespace Zotlabs\Module;
use Zotlabs\Lib\Apps;
use Zotlabs\Lib\Libsync;
use Zotlabs\Web\Controller;
class Clients extends Controller {
function get() {
$desc = t('This app allows you to authorize mobile apps using OAuth and OpenID to access your channel.');
if(! Apps::system_app_installed(local_channel(),'Clients')) {
return '<div class="section-content-info-wrapper">' . $desc . '</div>';
}
goaway(z_root() . '/settings/oauth2');
}
}