From 03a19ab3f4410bfa918317e0eb05d9384c3f04a3 Mon Sep 17 00:00:00 2001 From: acognet Date: Thu, 23 Sep 2021 11:34:39 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02573=20-=20Remove=20MetaModel::GetNextKe?= =?UTF-8?q?y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/metamodel.class.php | 15 --------------- 1 file changed, 15 deletions(-) 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