mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
disable direct api call from xml-rpc
This commit is contained in:
parent
ac1c6a1845
commit
ee57d4698d
@ -3,7 +3,7 @@
|
||||
* phpGroupWare API - Applications manager functions *
|
||||
* This file written by Mark Peters <skeeter@phpgroupware.org> *
|
||||
* Copyright (C) 2001 Mark Peters *
|
||||
* -------------------------------------------------------------------------*
|
||||
* ------------------------------------------------------------------------ *
|
||||
* This library is part of the phpGroupWare API *
|
||||
* http://www.phpgroupware.org/api *
|
||||
* ------------------------------------------------------------------------ *
|
||||
@ -23,7 +23,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
/*!
|
||||
@class applicatons
|
||||
@class applications
|
||||
@abstract functions for managing and installing apps
|
||||
@discussion Author: skeeter
|
||||
*/
|
||||
@ -58,7 +58,7 @@
|
||||
);
|
||||
}
|
||||
|
||||
function list_methods($_type='xmlrpc')
|
||||
function NOT_list_methods($_type='xmlrpc')
|
||||
{
|
||||
/*
|
||||
This handles introspection or discovery by the logged in client,
|
||||
@ -282,7 +282,7 @@
|
||||
{
|
||||
$title = $app_name = $this->db->f('app_name');
|
||||
|
||||
if (@is_array($GLOBALS['phpgw_info']['user']['preferences']) &&
|
||||
if (@is_array($GLOBALS['phpgw_info']['user']['preferences']) &
|
||||
($t = lang($app_name)) != $app_name.'*')
|
||||
{
|
||||
$title = $t;
|
||||
|
Loading…
Reference in New Issue
Block a user