From 195ef05c8d5d14dc9f51302e8be8e14f217fe82f Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 22 Aug 2014 18:16:03 +1200 Subject: [PATCH] Removing deprecated method --- code/model/SiteTree.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index 3856c5ef..b56d0855 100755 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -1843,19 +1843,6 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid return $items; } - - /** - * Return the number of {@link DependentPages()} - * - * @deprecated 3.1 Use DependentPages()->Count() instead. - * - * @param bool $includeVirtuals Set to false to exlcude virtual pages. - * @return ArrayList - */ - public function DependentPagesCount($includeVirtuals = true) { - Deprecation::notice('3.1', 'Use SiteTree->DependentPages()->Count() instead.'); - return $this->DependentPages($includeVirtuals)->Count(); - } /** * Return all virtual pages that link to this page