Skip to content

Commit

Permalink
Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
Browse files Browse the repository at this point in the history
into develop

Conflicts:
	htdocs/fourn/commande/index.php
  • Loading branch information
eldy committed Apr 16, 2012
2 parents 9114fec + 6c3e88e commit 66531ea
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions htdocs/fourn/commande/index.php
Expand Up @@ -436,7 +436,7 @@

print '</td></tr></table>';

$db->close();

llxFooter();

$db->close();
?>
2 changes: 2 additions & 0 deletions htdocs/install/mysql/migration/3.2.0-3.3.0.sql
Expand Up @@ -29,3 +29,5 @@ insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 2

ALTER TABLE llx_commande_fournisseur CHANGE COLUMN date_cloture date_approve datetime;
ALTER TABLE llx_commande_fournisseur CHANGE COLUMN fk_user_cloture fk_user_approve integer;

ALTER TABLE llx_mailing MODIFY COLUMN body mediumtext;
2 changes: 1 addition & 1 deletion htdocs/install/mysql/tables/llx_mailing.sql
Expand Up @@ -30,7 +30,7 @@ create table llx_mailing
titre varchar(60), -- Ref of mailing
entity integer DEFAULT 1 NOT NULL, -- multi company id
sujet varchar(60), -- Sujet of mailing
body text,
body mediumtext,
bgcolor varchar(8), -- Backgroud color of mailing
bgimage varchar(255), -- Backgroud image of mailing
cible varchar(60),
Expand Down
4 changes: 2 additions & 2 deletions htdocs/projet/class/project.class.php
Expand Up @@ -465,14 +465,14 @@ function delete($user, $notrigger=0)
// End call triggers
}

dol_syslog("Project::delete sql=" . $sql, LOG_DEBUG);
dol_syslog(get_class($this) . "::delete sql=" . $sql, LOG_DEBUG);
$this->db->commit();
return 1;
}
else
{
$this->error = $this->db->lasterror();
dol_syslog("Project::delete " . $this->error, LOG_ERR);
dol_syslog(get_class($this) . "::delete " . $this->error, LOG_ERR);
$this->db->rollback();
return -1;
}
Expand Down
6 changes: 2 additions & 4 deletions htdocs/projet/class/task.class.php
@@ -1,6 +1,6 @@
<?php
/* Copyright (C) 2008-2009 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>
/* Copyright (C) 2008-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2010_2012 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -368,8 +368,6 @@ function delete($user, $notrigger=0)
}
else
{
$this->db->free($resql);

//Delete associated link file
if ($conf->projet->dir_output)
{
Expand Down
6 changes: 3 additions & 3 deletions test/phpunit/AllTests.php
Expand Up @@ -60,8 +60,8 @@ public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('PHPUnit Framework');

require_once dirname(__FILE__).'/CoreTest.php';
$suite->addTestSuite('CoreTest');
//require_once dirname(__FILE__).'/CoreTest.php';
//$suite->addTestSuite('CoreTest');
require_once dirname(__FILE__).'/AdminLibTest.php';
$suite->addTestSuite('AdminLibTest');
require_once dirname(__FILE__).'/DateLibTest.php';
Expand All @@ -72,7 +72,7 @@ public static function suite()
$suite->addTestSuite('ImagesLibTest');
require_once dirname(__FILE__).'/FunctionsTest.php';
$suite->addTestSuite('FunctionsTest');
require_once dirname(__FILE__).'/NumberingModulesTest.php';
require_once dirname(__FILE__).'/_NumberingModulesTest.php';
$suite->addTestSuite('NumberingModulesTest');
require_once dirname(__FILE__).'/PdfDocTest.php';
$suite->addTestSuite('PdfDocTest');
Expand Down
1 change: 1 addition & 0 deletions test/phpunit/CoreTest.php
Expand Up @@ -26,6 +26,7 @@
global $conf,$user,$langs,$db;
//define('TEST_DB_FORCE_TYPE','mysql'); // This is to force using mysql driver
require_once 'PHPUnit/Autoload.php';
require_once dirname(__FILE__).'/../../htdocs/master.inc.php';

if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1');
if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1');
Expand Down

0 comments on commit 66531ea

Please sign in to comment.