mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removed invalid deprecation note
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@91589 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ec88536a03
commit
2cc517dd2c
@ -166,14 +166,10 @@ class ContentNegotiator {
|
|||||||
self::$enabled = true;
|
self::$enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated in 2.3
|
|
||||||
*/
|
|
||||||
static function disable() {
|
static function disable() {
|
||||||
self::$enabled = false;
|
self::$enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if negotation is enabled for the given response.
|
* Returns true if negotation is enabled for the given response.
|
||||||
* By default, negotiation is only enabled for pages that have the xml header.
|
* By default, negotiation is only enabled for pages that have the xml header.
|
||||||
@ -189,5 +185,4 @@ class ContentNegotiator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user