From 4c52504727321058a330c24c62d96bee5fef5ff9 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 25 Mar 2011 16:52:24 +1300 Subject: [PATCH] MINOR: Replaced deprecated ClassInfo::is_subclass_of() calls. (copied from 969aa0b51e7418d17150653ccf37fe9815b74d45) --- code/ContentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ContentController.php b/code/ContentController.php index b00d25eb..940e41cc 100755 --- a/code/ContentController.php +++ b/code/ContentController.php @@ -232,7 +232,7 @@ class ContentController extends Controller { $hasOnes = $this->dataRecord->has_one(); if(!$hasOnes) return false; foreach($hasOnes as $hasOneName => $hasOneClass) { - if($hasOneClass == 'WidgetArea' || ClassInfo::is_subclass_of($hasOneClass, 'WidgetArea')) { + if($hasOneClass == 'WidgetArea' || is_subclass_of($hasOneClass, 'WidgetArea')) { $widgetAreaRelations[] = $hasOneName; } }