From 796eaf16005a030c4de20692539cb95b5a352f8c Mon Sep 17 00:00:00 2001 From: Kalen Johnson Date: Wed, 18 Mar 2015 14:09:10 -0700 Subject: [PATCH] Referencing ConditionalTagCheck directly --- lib/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config.php b/lib/config.php index 75ebfd4..702653d 100644 --- a/lib/config.php +++ b/lib/config.php @@ -2,7 +2,7 @@ namespace Roots\Sage\Config; -use Roots\Sage; +use Roots\Sage\ConditionalTagCheck; /** * Enable theme features @@ -40,7 +40,7 @@ function display_sidebar() { static $display; if (!isset($display)) { - $conditionalCheck = new Sage\ConditionalTagCheck( + $conditionalCheck = new ConditionalTagCheck( /** * Any of these conditional tags that return true won't show the sidebar. * You can also specify your own custom function as long as it returns a boolean.