mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Stop watches - workaround for the triggers
SVN:trunk[2168]
This commit is contained in:
@@ -77,10 +77,16 @@ class ormStopWatch
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Necessary for the triggers
|
||||||
|
*/
|
||||||
|
public function __toString()
|
||||||
|
{
|
||||||
|
return (string) $this->iTimeSpent;
|
||||||
|
}
|
||||||
|
|
||||||
public function DefineThreshold($iPercent, $tDeadline = null, $bPassed = false, $bTriggered = false, $iOverrun = 0)
|
public function DefineThreshold($iPercent, $tDeadline = null, $bPassed = false, $bTriggered = false, $iOverrun = 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user