diff --git a/preferences/inc/class.bosettings.inc.php b/preferences/inc/class.bosettings.inc.php index 80adc3b4b0..ccf1c36219 100644 --- a/preferences/inc/class.bosettings.inc.php +++ b/preferences/inc/class.bosettings.inc.php @@ -21,14 +21,14 @@ var $debug = False; var $public_functions = array( - '_read' => True, + 'read' => True, 'process_array' => True ); var $xml_functions = array(); var $xmlrpc_methods = array(); var $soap_functions = array( - '_read' => array( + 'read' => array( 'in' => array('int','int','struct','string','int'), 'out' => array('array') ), @@ -103,7 +103,7 @@ return True; } - function _read($app,$prefix,$type='user') + function read($app,$prefix,$type='user') { switch($type) // set up some class vars to be used when processing the hooks { @@ -228,7 +228,7 @@ case 'xmlrpc': $xml_functions = array( 'read' => array( - 'function' => '_read', + 'function' => 'read', 'signature' => array(array(xmlrpcStruct,xmlrpcString,xmlrpcString,xmlrpcString)), 'docstring' => lang('Read prefs for the specified application.') ), diff --git a/preferences/inc/class.uisettings.inc.php b/preferences/inc/class.uisettings.inc.php index d0f9211f45..900f8e3c58 100755 --- a/preferences/inc/class.uisettings.inc.php +++ b/preferences/inc/class.uisettings.inc.php @@ -128,7 +128,7 @@ $this->t->set_var('row_on', $GLOBALS['egw_info']['theme']['row_on']); $this->t->set_var('row_off',$GLOBALS['egw_info']['theme']['row_off']); - $this->bo->_read($this->check_app(),$this->prefix,$GLOBALS['type']); + $this->bo->read($this->check_app(),$this->prefix,$GLOBALS['type']); //echo "prefs=
"; print_r($this->bo->prefs); echo "\n"; $this->notifies = array();