typo & unused variable removal

thank you @Hipska !
This commit is contained in:
bruno DA SILVA
2019-11-04 15:02:19 +01:00
parent 9054dcb9ff
commit d9ad3f5e98
2 changed files with 1 additions and 2 deletions

View File

@@ -794,7 +794,7 @@ class CMDBSource
/**
*
* @deprecated 2.7.0 N°1627 use ItopCounter insted
* @deprecated 2.7.0 N°1627 use ItopCounter instaed
*
* @param string $sTable
*

View File

@@ -202,7 +202,6 @@
<code><![CDATA[
public function DBInsertNoReload()
{
$oMutex = new iTopMutex('ticket_insert');
$iNextId = ItopCounter::IncClass(get_class($this));
$sRef = $this->MakeTicketRef($iNextId);
$this->SetIfNull('ref', $sRef);