diff --git a/src/function.php b/src/function.php index 21afc9d..a108616 100644 --- a/src/function.php +++ b/src/function.php @@ -31,10 +31,6 @@ function humbug_get_contents($filename, $use_include_path = false, $context = nu return $return; } -} else { - throw new \RuntimeException( - 'Function has already been defined' - ); } if (!function_exists('humbug_get_headers')) { @@ -43,10 +39,6 @@ function humbug_get_headers() { return FileGetContents::getLastResponseHeaders(); } -} else { - throw new \RuntimeException( - 'Function has already been defined' - ); } if (!function_exists('humbug_set_headers')) { @@ -55,8 +47,4 @@ function humbug_set_headers(array $headers) { return FileGetContents::setNextRequestHeaders($headers); } -} else { - throw new \RuntimeException( - 'Function has already been defined' - ); } \ No newline at end of file