From 83ae42d408175ce132768bca85ac334c866b98d9 Mon Sep 17 00:00:00 2001 From: Gina Trapani Date: Fri, 27 Nov 2015 14:21:44 -0500 Subject: [PATCH] Remove Thanksgiving message --- tests/TestOfInsightStreamController.php | 9 --------- webapp/_lib/controller/class.InsightStreamController.php | 4 ---- 2 files changed, 13 deletions(-) diff --git a/tests/TestOfInsightStreamController.php b/tests/TestOfInsightStreamController.php index 1bf79c0640..dff85e92bc 100644 --- a/tests/TestOfInsightStreamController.php +++ b/tests/TestOfInsightStreamController.php @@ -188,15 +188,6 @@ public function testOfNotLoggedInNoInsights() { $this->assertPattern('/Password/', $results); } - public function testOfThanksgivingMessage() { - $builders = self::buildPublicAndPrivateInsights(); - - $controller = new InsightStreamController(); - $results = $controller->go(); - - $this->assertPattern('/Happy Thanksgiving!/', $results); - } - public function testOfNotLoggedInInsights() { $builders = self::buildPublicAndPrivateInsights(); diff --git a/webapp/_lib/controller/class.InsightStreamController.php b/webapp/_lib/controller/class.InsightStreamController.php index c7c1e5af1f..81ec715d8d 100644 --- a/webapp/_lib/controller/class.InsightStreamController.php +++ b/webapp/_lib/controller/class.InsightStreamController.php @@ -93,10 +93,6 @@ public function control() { } } - if (Utils::isTest() || date("Y-m-d") == '2015-11-26') { - $this->addInfoMessage("Happy Thanksgiving! We're thankful you're using ThinkUp."); - } - $this->addToView('tpl_path', THINKUP_WEBAPP_PATH.'plugins/insightsgenerator/view/'); if ($config->getValue('image_proxy_enabled') == true) { $this->addToView('image_proxy_sig', $config->getValue('image_proxy_sig'));