From 85315257891869ce6fa7ef5a3e14c8fcbc4a3ff6 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sat, 14 Apr 2012 18:15:49 +1200 Subject: [PATCH] MINOR: remove $template var as sapphire/07d2d52 will pick this up automatically --- code/forms/SiteTreeURLSegmentField.php | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/code/forms/SiteTreeURLSegmentField.php b/code/forms/SiteTreeURLSegmentField.php index 9c7329ad59..504dc68c14 100644 --- a/code/forms/SiteTreeURLSegmentField.php +++ b/code/forms/SiteTreeURLSegmentField.php @@ -1,24 +1,21 @@ URLSegment property, and suggest input based on the serverside rules * defined through {@link SiteTree->generateURLSegment()} and {@link URLSegmentFilter}. * * Note: The actual conversion for saving the value takes place in the model layer. + * + * @package cms + * @subpackage forms */ + class SiteTreeURLSegmentField extends TextField { - protected $template = 'SiteTreeURLSegmentField'; - - /** @var String */ - protected $helpText; - - /** @var String */ - protected $urlPrefix; + /** + * @var string + */ + protected $helpText, $urlPrefix; static $allowed_actions = array( 'suggest' @@ -81,6 +78,4 @@ function getURLPrefix(){ function Type() { return 'text sitetreeurlsegment'; } - - } \ No newline at end of file