diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php index ff6cf960ff0..524a3d44f8d 100644 --- a/htdocs/projet/class/project.class.php +++ b/htdocs/projet/class/project.class.php @@ -465,14 +465,14 @@ class Project extends CommonObject // 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; } diff --git a/htdocs/projet/class/task.class.php b/htdocs/projet/class/task.class.php index d551dbf429a..098536c87e3 100644 --- a/htdocs/projet/class/task.class.php +++ b/htdocs/projet/class/task.class.php @@ -1,6 +1,6 @@ - * Copyright (C) 2010 Regis Houssin +/* Copyright (C) 2008-2012 Laurent Destailleur + * Copyright (C) 2010_2012 Regis Houssin * * 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 @@ -368,8 +368,6 @@ class Task extends CommonObject } else { - $this->db->free($resql); - //Delete associated link file if ($conf->projet->dir_output) {