From 0f848d94643a6dcd1328f886468160a46a74a446 Mon Sep 17 00:00:00 2001 From: helpfulrobot Date: Fri, 1 Jan 2016 01:40:49 +1300 Subject: [PATCH] Converted to PSR-2 --- code/RobotsNoindexCMSExtensions.php | 19 +++++++++-------- code/checks/InfoBox_index.php | 32 ++++++++++++++++------------- 2 files changed, 28 insertions(+), 23 deletions(-) diff --git a/code/RobotsNoindexCMSExtensions.php b/code/RobotsNoindexCMSExtensions.php index 98ff6ea..e34973a 100644 --- a/code/RobotsNoindexCMSExtensions.php +++ b/code/RobotsNoindexCMSExtensions.php @@ -1,12 +1,13 @@ '; - } - return $tags; - } - -} \ No newline at end of file + public function MetaTags(&$tags) + { + if (Director::isDev() or Director::isTest()) { + $tags .= ''; + } + return $tags; + } +} diff --git a/code/checks/InfoBox_index.php b/code/checks/InfoBox_index.php index de13509..e3d9353 100644 --- a/code/checks/InfoBox_index.php +++ b/code/checks/InfoBox_index.php @@ -1,21 +1,25 @@