diff --git a/core/metamodel.class.php b/core/metamodel.class.php index 5e58e3b4c..f7deefd8b 100644 --- a/core/metamodel.class.php +++ b/core/metamodel.class.php @@ -7233,21 +7233,6 @@ abstract class MetaModel return $oRet; } - /** - * @deprecated 2.7.0 N°1627, use ItopCounter::incRootClass($sClass) instead - * - * @param string $sClass - * - * @return int - * @throws \CoreException - */ - public static function GetNextKey($sClass) - { - DeprecatedCallsLog::NotifyDeprecatedPhpMethod('use ItopCounter::incRootClass($sClass) instead'); - - return ItopCounter::IncClass($sClass); - } - /** * Deletion of records, bypassing {@link DBObject::DBDelete} !!! * It is NOT recommended to use this shortcut