From 943b5cf3a4cea789e15ed92abe2457f13fbf61e8 Mon Sep 17 00:00:00 2001 From: Hamish Friedlander Date: Tue, 12 Mar 2013 15:40:12 +1300 Subject: [PATCH] Remove debug message, any still unexpected token is an error --- core/manifest/ConfigStaticManifest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/manifest/ConfigStaticManifest.php b/core/manifest/ConfigStaticManifest.php index ebd9996ed..f53f9f828 100644 --- a/core/manifest/ConfigStaticManifest.php +++ b/core/manifest/ConfigStaticManifest.php @@ -271,9 +271,7 @@ class SS_ConfigStaticManifest_Parser { break; } else { - echo "What's this?\n"; - print_r($token); - return; + user_error('Unexpected token when building static manifest: '.print_r($token, true), E_USER_ERROR); } }