Skip to content

Commit

Permalink
Removing deprecated params.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 1, 2009
1 parent 046d7c7 commit 5fa6e5b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cake/libs/view/helpers/javascript.php
Expand Up @@ -609,14 +609,9 @@ function includeScript($script = "", $options = array()) {
* *
* @param array $data Data to be converted * @param array $data Data to be converted
* @param array $options Set of options: block, prefix, postfix, stringKeys, quoteKeys, q * @param array $options Set of options: block, prefix, postfix, stringKeys, quoteKeys, q
* @param string $prefix DEPRECATED, use $options['prefix'] instead. Prepends the string to the returned data
* @param string $postfix DEPRECATED, use $options['postfix'] instead. Appends the string to the returned data
* @param array $stringKeys DEPRECATED, use $options['stringKeys'] instead. A list of array keys to be treated as a string
* @param boolean $quoteKeys DEPRECATED, use $options['quoteKeys'] instead. If false, treats $stringKey as a list of keys *not* to be quoted
* @param string $q DEPRECATED, use $options['q'] instead. The type of quote to use
* @return string A JSON code block * @return string A JSON code block
*/ */
function object($data = array(), $options = array(), $prefix = null, $postfix = null, $stringKeys = null, $quoteKeys = null, $q = null) { function object($data = array(), $options = array()) {
if (!empty($options) && !is_array($options)) { if (!empty($options) && !is_array($options)) {
$options = array('block' => $options); $options = array('block' => $options);
} else if (empty($options)) { } else if (empty($options)) {
Expand Down

0 comments on commit 5fa6e5b

Please sign in to comment.