]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Helper/Tools.php
fix themes symlinks
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Helper / Tools.php
index c773af37dcebc7b815692c0c268ce7261d1fd5d1..c932f880fd452466693ed7a0e8946a9a8c2ed95f 100755 (executable)
@@ -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') === '') {