From 4a0197557c8b03040a720f77287daa8f82d70dc0 Mon Sep 17 00:00:00 2001 From: Basil Suter Date: Tue, 3 Jan 2017 13:33:47 +0100 Subject: [PATCH] removed luya\cms\Menu::currentLevel() removed luya\cms\helpers\TagParser removed luya\cms\helpers\CmsMarkdown #1127 --- modules/cms/src/Menu.php | 13 ------------- modules/cms/src/helpers/CmsMarkdown.php | 17 ----------------- modules/cms/src/helpers/TagParser.php | 17 ----------------- 3 files changed, 47 deletions(-) delete mode 100644 modules/cms/src/helpers/CmsMarkdown.php delete mode 100644 modules/cms/src/helpers/TagParser.php diff --git a/modules/cms/src/Menu.php b/modules/cms/src/Menu.php index 61e1c83d2..966605c74 100644 --- a/modules/cms/src/Menu.php +++ b/modules/cms/src/Menu.php @@ -410,19 +410,6 @@ public function getLevelCurrent($level) return false; } - - /** - * deprecated currentLevel() - * - * @deprecated 1.0.0 As getLevelCurrent() replaces this function. - * @param integer $level - */ - public function currentLevel($level) - { - trigger_error('currentLevel() is deprecated, use getLevelCurrent()', E_USER_NOTICE); - - return $this->getLevelCurrent($level); - } /** * Return the home site for the current resolved language resolved by {{luya\web\Composition}} component. diff --git a/modules/cms/src/helpers/CmsMarkdown.php b/modules/cms/src/helpers/CmsMarkdown.php deleted file mode 100644 index ea7517441..000000000 --- a/modules/cms/src/helpers/CmsMarkdown.php +++ /dev/null @@ -1,17 +0,0 @@ - - * @deprecated - */ -class CmsMarkdown extends TagMarkdownParser -{ -} diff --git a/modules/cms/src/helpers/TagParser.php b/modules/cms/src/helpers/TagParser.php deleted file mode 100644 index 3d47b675f..000000000 --- a/modules/cms/src/helpers/TagParser.php +++ /dev/null @@ -1,17 +0,0 @@ - - * @deprecated - */ -class TagParser extends BaseTagParser -{ -}