From 19f2f11ee810cfd580cc23dabfafa658b5c4e99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 28 Jan 2015 13:58:12 +0100 Subject: fix themes symlinks --- src/Wallabag/CoreBundle/Helper/Tools.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/Wallabag/CoreBundle/Helper') diff --git a/src/Wallabag/CoreBundle/Helper/Tools.php b/src/Wallabag/CoreBundle/Helper/Tools.php index c773af37..c932f880 100755 --- a/src/Wallabag/CoreBundle/Helper/Tools.php +++ b/src/Wallabag/CoreBundle/Helper/Tools.php @@ -104,23 +104,6 @@ final class Tools return sha1($string . SALT); } - /** - * Returns the correct header for a status code - * - * @param $status_code - */ - private static function _status($status_code) - { - if (strpos(php_sapi_name(), 'apache') !== false) { - - header('HTTP/1.0 '.$status_code); - } - else { - - header('Status: '.$status_code); - } - } - public static function generateToken() { if (ini_get('open_basedir') === '') { -- cgit v1.2.3