Skip to content

Commit

Permalink
fix: restore autoPrefix property of Href (#1514)
Browse files Browse the repository at this point in the history
use of this property in code was removed in PR
#801
But the property is left here because old data may still exist
that has this property saved.

See discussion in sabre-io/Baikal#1154
  • Loading branch information
phil-davis committed Nov 22, 2023
1 parent f6aae19 commit b397796
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/DAV/Xml/Property/Href.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ class Href implements Element, HtmlOutput
*/
protected $hrefs;

/**
* Automatically prefix the url with the server base directory.
* Note: use of this property in code was removed in PR:
* https://github.com/sabre-io/dav/pull/801
* But the property is left here because old data may still exist
* that has this property saved.
* See discussion in issue:
* https://github.com/sabre-io/Baikal/issues/1154.
*
* @var bool
*/
protected $autoPrefix = true;

/**
* Constructor.
*
Expand Down

0 comments on commit b397796

Please sign in to comment.