2
0
forked from Wavyzz/dolibarr

Qual: Removed deprecated param

This commit is contained in:
Laurent Destailleur
2011-04-19 23:03:28 +00:00
parent c896bf2386
commit 3a3429c4bb
3 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2006-2010 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2006-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
@@ -593,12 +593,11 @@ function clean_orphelins($db)
* Return HTML table with list of projects and number of opened tasks
*
* @param $db
* @param $mine Limited to project i am contact to
* @param $socid
* @param $projectsListId
* @param $mytasks Limited to task i am contact to
*/
function print_projecttasks_array($db, $mine, $socid, $projectsListId, $mytasks=0)
function print_projecttasks_array($db, $socid, $projectsListId, $mytasks=0)
{
global $langs,$conf,$user,$bc;

View File

@@ -70,7 +70,7 @@ else
print '<table border="0" width="100%" class="notopnoleftnoright">';
print '<tr><td width="30%" valign="top" class="notopnoleft">';
print_projecttasks_array($db,0,$socid,$projectsListId,$mine);
print_projecttasks_array($db,$socid,$projectsListId,$mine);
/* Affichage de la liste des projets d'aujourd'hui */

View File

@@ -787,7 +787,7 @@ class Project extends CommonObject
* Return array of projects a user has permission on, is affected to, or all projects
*
* @param user User object
* @param mode 0=All project I have permission on, 1=Affected to me only, 2=Will return list of all projects
* @param mode 0=All project I have permission on, 1=Projects affected to me only, 2=Will return list of all projects
* @param list 0=Return array,1=Return string list
* @param socid 0=No filter on third party, id of third party
* @return array or string