Skip to content

Commit

Permalink
fix: restore autoPrefix property of Href
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 8fecb3e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/DAV/Xml/Property/Href.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ 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 https://github.com/sabre-io/Baikal/issues/1154
*
* @var bool
*/
protected $autoPrefix = true;

/**
* Constructor.
*
Expand Down

0 comments on commit 8fecb3e

Please sign in to comment.