From cce30493a604ec4f1394ad76daca22d09174865f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 9 Mar 2008 22:52:02 +0000 Subject: [PATCH] removed random debug methods git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50741 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/control/ContentController.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/core/control/ContentController.php b/core/control/ContentController.php index 115e4b081..82560226d 100644 --- a/core/control/ContentController.php +++ b/core/control/ContentController.php @@ -312,22 +312,6 @@ HTML; return "xml:lang=\"$lang\" lang=\"$lang\""; } - /** - * Throw an error to test the error system - */ - function throwerror() { - user_error("This is a test of the error handler - nothing to worry about.", E_USER_ERROR); - } - - /** - * Throw a warning to test the error system - */ - function throwwarning() { - user_error("This is a test of the warning handler - nothing to worry about.", E_USER_WARNING); - } - - - /** * This action is called by the installation system