From 9456abe36e38938d35a99a575b00752e9b96a7f0 Mon Sep 17 00:00:00 2001 From: leekelleher Date: Mon, 11 Jun 2012 09:10:44 -0100 Subject: [PATCH] commented out obsolete GetDepth method --- .../umbraco/uQuery/MediaExtensions.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/umbraco/presentation/umbraco/uQuery/MediaExtensions.cs b/umbraco/presentation/umbraco/uQuery/MediaExtensions.cs index 7bddbf5662..74d7103396 100644 --- a/umbraco/presentation/umbraco/uQuery/MediaExtensions.cs +++ b/umbraco/presentation/umbraco/uQuery/MediaExtensions.cs @@ -125,16 +125,16 @@ namespace umbraco } } - /// - /// Extension method on Meia obj to get it's depth - /// - /// an umbraco.cms.businesslogic.media.Media object - /// an int representing the depth of the Media object in the tree - [Obsolete("Use .Level instead")] - public static int GetDepth(this Media media) - { - return media.Path.Split(',').ToList().Count; - } + /////// + /////// Extension method on Meia obj to get it's depth + /////// + /////// an umbraco.cms.businesslogic.media.Media object + /////// an int representing the depth of the Media object in the tree + ////[Obsolete("Use .Level instead")] + ////public static int GetDepth(this Media media) + ////{ + //// return media.Path.Split(',').ToList().Count; + ////} /// /// Tell me the level of this node (0 = root)