mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
svn propset svn:keywords Id
This commit is contained in:
parent
1e8de99ed7
commit
ba25d07453
@ -1,13 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* eGroupWare
|
* EGroupware - InfoLog CSV import
|
||||||
*
|
*
|
||||||
* @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
|
||||||
* @package importexport
|
* @package importexport
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||||
* @copyright Cornelius Weiss <nelius@cwtech.de>
|
* @copyright Cornelius Weiss <nelius@cwtech.de>
|
||||||
* @version $Id: $
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -171,8 +171,8 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin {
|
|||||||
if($_definition->plugin_options['owner_from_csv']) {
|
if($_definition->plugin_options['owner_from_csv']) {
|
||||||
if(!is_numeric($record['info_owner'])) {
|
if(!is_numeric($record['info_owner'])) {
|
||||||
$this->errors[$import_csv->get_current_position()] = lang(
|
$this->errors[$import_csv->get_current_position()] = lang(
|
||||||
'Invalid owner ID: %1. Might be a bad field translation. Used %2 instead.',
|
'Invalid owner ID: %1. Might be a bad field translation. Used %2 instead.',
|
||||||
$record['info_owner'],
|
$record['info_owner'],
|
||||||
$_definition->plugin_options['record_owner']
|
$_definition->plugin_options['record_owner']
|
||||||
);
|
);
|
||||||
$record['info_owner'] = $_definition->plugin_options['record_owner'];
|
$record['info_owner'] = $_definition->plugin_options['record_owner'];
|
||||||
@ -264,7 +264,7 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin {
|
|||||||
if(count($changed) == 0 && !$this->definition->plugin_options['update_timestamp']) {
|
if(count($changed) == 0 && !$this->definition->plugin_options['update_timestamp']) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fall through
|
// Fall through
|
||||||
case 'insert' :
|
case 'insert' :
|
||||||
if ( $this->dry_run ) {
|
if ( $this->dry_run ) {
|
||||||
@ -433,7 +433,7 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin {
|
|||||||
}
|
}
|
||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function project_id($num_or_title)
|
public static function project_id($num_or_title)
|
||||||
{
|
{
|
||||||
static $boprojects;
|
static $boprojects;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user