fixing some IDE warnings

This commit is contained in:
Ralf Becker 2019-02-13 14:52:57 +01:00
parent d805e9f467
commit c2003e2b8a

View File

@ -5,11 +5,10 @@
* @link www.egroupware.org * @link www.egroupware.org
* @author Cornelius Weiss <egw@von-und-zu-weiss.de> * @author Cornelius Weiss <egw@von-und-zu-weiss.de>
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> * @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2005-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de> * @copyright (c) 2005-19 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2005/6 by Cornelius Weiss <egw@von-und-zu-weiss.de> * @copyright (c) 2005/6 by Cornelius Weiss <egw@von-und-zu-weiss.de>
* @package addressbook * @package addressbook
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/ */
use EGroupware\Api; use EGroupware\Api;
@ -202,7 +201,6 @@ class addressbook_ui extends addressbook_bo
} }
} }
$preserv = array(); $preserv = array();
$to = $_content['nm']['to'];
$content = array(); $content = array();
if($msg || $_GET['msg']) if($msg || $_GET['msg'])
{ {
@ -2574,7 +2572,6 @@ class addressbook_ui extends addressbook_bo
*/ */
public function ajax_check_values($values, $name, $own_id=0) public function ajax_check_values($values, $name, $own_id=0)
{ {
$matches = null;
$fields = explode(',',$GLOBALS['egw_info']['user']['preferences']['addressbook']['duplicate_fields']); $fields = explode(',',$GLOBALS['egw_info']['user']['preferences']['addressbook']['duplicate_fields']);
$threshold = (int)$GLOBALS['egw_info']['user']['preferences']['addressbook']['duplicate_threshold']; $threshold = (int)$GLOBALS['egw_info']['user']['preferences']['addressbook']['duplicate_threshold'];