Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modified create_repository() to better follow naming conventions in x…

…ml/json
  • Loading branch information...
commit 6c5d8e39b8e3bce87e2308ae044d83402a6d6e61 1 parent 326a6dc
@chrisbarr authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/beanstalkapi.class.php
View
4 lib/beanstalkapi.class.php
@@ -550,7 +550,7 @@ public function create_repository($name, $type_id = "subversion", $title, $creat
$xml->addChild('title', $title);
if(!is_null($create_structure))
- $xml->addChild('create_structure', $create_structure);
+ $xml->addChild('create-structure', $create_structure);
if(!is_null($color_label))
$xml->addChild('color-label', "label-" . $color_label);
@@ -569,7 +569,7 @@ public function create_repository($name, $type_id = "subversion", $title, $creat
$data_array['repository']['title'] = $title;
if(!is_null($create_structure))
- $data_array['repository']['create_structure'] = $create_structure;
+ $data_array['repository']['create-structure'] = $create_structure;
if(!is_null($color_label))
$data_array['repository']['color-label'] = "label-" . $color_label;
Please sign in to comment.
Something went wrong with that request. Please try again.