Skip to content

Commit

Permalink
Bug 665792 - Headers::send should be marked as static.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstange committed Jun 22, 2011
1 parent 7e76fbc commit e60ec6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/inc/Communication.php
Expand Up @@ -6,7 +6,7 @@ class Headers {
const ALLOW_CROSS_ORIGIN = 1;
const NO_CACHE = 2;

function send($flags = 0, $mimeType = "text/html") {
public static function send($flags = 0, $mimeType = "text/html") {
header("Content-Type: {$mimeType}, charset=utf-8");
if ($flags & self::ALLOW_CROSS_ORIGIN)
header("Access-Control-Allow-Origin: *");
Expand Down

0 comments on commit e60ec6f

Please sign in to comment.