svn propset svn:keywords Id

This commit is contained in:
Ralf Becker 2011-05-02 13:59:29 +00:00
parent 1e8de99ed7
commit ba25d07453

View File

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