From 53a726dd6f0f6902993813b4c0240a1efece1dad Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 22 Mar 2016 11:13:02 +0000 Subject: [PATCH] using new api class-names --- addressbook/merge.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addressbook/merge.php b/addressbook/merge.php index 54f9f31885..f0de46d862 100644 --- a/addressbook/merge.php +++ b/addressbook/merge.php @@ -23,7 +23,7 @@ * @package api * @subpackage addressbook * @author Ralf Becker - * @copyright (c) 2015 by Ralf Becker + * @copyright (c) 2015-16 by Ralf Becker * @version $Id$ */ @@ -32,13 +32,12 @@ $GLOBALS['egw_info'] = array( 'noheader' => True, 'currentapp' => 'addressbook', 'no_exception_handler' => 'basic_auth', // we use a basic auth exception handler (sends exception message as basic auth realm) - 'autocreate_session_callback' => array('egw_digest_auth','autocreate_session_callback'), + 'autocreate_session_callback' => 'EGroupware\\Api\\Header\\Authenticate::autocreate_session_callback', 'auth_realm' => 'EGroupware document merge', ) ); // if you move this file somewhere else, you need to adapt the path to the header! $egw_dir = dirname(dirname(__FILE__)); -require_once($egw_dir.'/phpgwapi/inc/class.egw_digest_auth.inc.php'); include($egw_dir.'/header.inc.php'); $merge = new addressbook_merge();