mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°4756 - Fix DBInsert/NoReload call order
This commit is contained in:
@@ -2815,9 +2815,9 @@ abstract class DBObject implements iDisplay
|
||||
* @internal
|
||||
*
|
||||
*/
|
||||
public function DBInsertNoReload()
|
||||
public function DBInsert()
|
||||
{
|
||||
return $this->DBInsert();
|
||||
return $this->DBInsertNoReload();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2943,7 +2943,7 @@ abstract class DBObject implements iDisplay
|
||||
* @throws \MySQLException
|
||||
* @throws \OQLException
|
||||
*/
|
||||
public function DBInsert()
|
||||
public function DBInsertNoReload()
|
||||
{
|
||||
$sClass = get_class($this);
|
||||
if (MetaModel::DBIsReadOnly())
|
||||
|
||||
Reference in New Issue
Block a user