Skip to content
This repository
Browse code

MINOR: remove $template var as sapphire/07d2d52 will pick this up aut…

…omatically
  • Loading branch information...
commit 85315257891869ce6fa7ef5a3e14c8fcbc4a3ff6 1 parent dc0168d
Will Rossiter authored April 14, 2012

Showing 1 changed file with 8 additions and 13 deletions. Show diff stats Hide diff stats

  1. 21  code/forms/SiteTreeURLSegmentField.php
21  code/forms/SiteTreeURLSegmentField.php
... ...
@@ -1,24 +1,21 @@
1 1
 <?php
2  
-/**
3  
- * @package cms
4  
- * @subpackage forms
5  
- */
6 2
 
7 3
 /**
8 4
  * Used to edit the SiteTree->URLSegment property, and suggest input based on the serverside rules
9 5
  * defined through {@link SiteTree->generateURLSegment()} and {@link URLSegmentFilter}.
10 6
  * 
11 7
  * Note: The actual conversion for saving the value takes place in the model layer.
  8
+ *
  9
+ * @package cms
  10
+ * @subpackage forms
12 11
  */
  12
+
13 13
 class SiteTreeURLSegmentField extends TextField {
14 14
 	
15  
-	protected $template = 'SiteTreeURLSegmentField';
16  
-	
17  
-	/** @var String */
18  
-	protected $helpText;
19  
-	
20  
-	/** @var String */
21  
-	protected $urlPrefix;
  15
+	/** 
  16
+	 * @var string 
  17
+	 */
  18
+	protected $helpText, $urlPrefix;
22 19
 	
23 20
 	static $allowed_actions = array(
24 21
 		'suggest'
@@ -81,6 +78,4 @@ function getURLPrefix(){
81 78
 	function Type() {
82 79
 		return 'text sitetreeurlsegment';
83 80
 	}
84  
-	
85  
-	
86 81
 }

0 notes on commit 8531525

Please sign in to comment.
Something went wrong with that request. Please try again.