function Comment Missing
This commit is contained in:
parent
c2e49c82f8
commit
02b74afe5f
@ -26,6 +26,11 @@ require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
|
||||
class Login
|
||||
{
|
||||
|
||||
/**
|
||||
* Constructor of the class
|
||||
*
|
||||
* @param DoliDb $db Database handler
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
global $db;
|
||||
|
||||
@ -29,6 +29,11 @@ class TaskStats extends Stats
|
||||
public $socid;
|
||||
public $year;
|
||||
|
||||
/**
|
||||
* Constructor of the class
|
||||
*
|
||||
* @param DoliDb $db Database handler
|
||||
*/
|
||||
function __construct($db)
|
||||
{
|
||||
global $conf, $user;
|
||||
|
||||
@ -239,6 +239,13 @@ exit(0);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* script cron usage
|
||||
*
|
||||
* @param string $path path
|
||||
* @param string $script_file filename
|
||||
* @return void
|
||||
*/
|
||||
function usage($path,$script_file)
|
||||
{
|
||||
global $conf;
|
||||
@ -252,4 +259,3 @@ function usage($path,$script_file)
|
||||
print "For example, to run pending tasks every 5mn, you can add this line:\n";
|
||||
print "*/5 * * * * ".$path.$script_file." securitykey userlogin > ".DOL_DATA_ROOT."/".$script_file.".log\n";
|
||||
}
|
||||
|
||||
|
||||
@ -91,6 +91,11 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
|
||||
print "\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* setUpBeforeClass
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
@ -131,6 +136,11 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
|
||||
print __METHOD__."\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* tearDownAfterClass
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function tearDownAfterClass()
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user