disable direct api call from xml-rpc

This commit is contained in:
Miles Lott 2004-02-03 06:25:36 +00:00
parent ac1c6a1845
commit ee57d4698d

View File

@ -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;